1 ################################################################################
5 ################################################################################
7 ODROID_MALI_VERSION
= 46fe49f37e3506c6205ad8c50980eca9bfff11e3
8 ODROID_MALI_SITE
= $(call github
,mdrjr
,c2_mali
,$(ODROID_MALI_VERSION
))
9 ODROID_MALI_LICENSE
= Hardkernel EULA
10 ODROID_MALI_LICENSE_FILES
= README.md
12 ODROID_MALI_INSTALL_STAGING
= YES
13 ODROID_MALI_PROVIDES
= libegl libgles
15 ifeq ($(BR2_aarch64
),y
)
16 ODROID_MALI_INSTALL_ARCH
= mali_libs
18 ODROID_MALI_INSTALL_ARCH
= 32bit_libs
21 define ODROID_MALI_INSTALL_LIBS
22 cp
-dpfr
$(@D
)/fbdev
/$(ODROID_MALI_INSTALL_ARCH
)/lib
* $(1)/usr
/lib
/
25 define ODROID_MALI_INSTALL_STAGING_CMDS
26 $(call ODROID_MALI_INSTALL_LIBS
,$(STAGING_DIR
))
27 mkdir
-p
$(STAGING_DIR
)/usr
/lib
/pkgconfig
28 cp
-dpfr
$(@D
)/pkgconfig
/*.
pc $(STAGING_DIR
)/usr
/lib
/pkgconfig
/
29 cp
-dpfr
$(@D
)/fbdev
/mali_headers
/* $(STAGING_DIR
)/usr
/include
32 define ODROID_MALI_INSTALL_TARGET_CMDS
33 $(call ODROID_MALI_INSTALL_LIBS
,$(TARGET_DIR
))
36 $(eval
$(generic-package
))