ncftp: bump version to 3.2.6
[buildroot-gz.git] / package / odroid-mali / odroid-mali.mk
blob7b8e5110df7c614e436ede407d44cc6284014305
1 ################################################################################
3 # odroid-mali
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
17 else
18 ODROID_MALI_INSTALL_ARCH = 32bit_libs
19 endif
21 define ODROID_MALI_INSTALL_LIBS
22 cp -dpfr $(@D)/fbdev/$(ODROID_MALI_INSTALL_ARCH)/lib* $(1)/usr/lib/
23 endef
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
30 endef
32 define ODROID_MALI_INSTALL_TARGET_CMDS
33 $(call ODROID_MALI_INSTALL_LIBS,$(TARGET_DIR))
34 endef
36 $(eval $(generic-package))