Skip to contentSkip to conversation

package/rockchip-mali: fix armeb build

Buildroot Peter Korsgaard 1 participant 1 message Jun 9, 2022 Arm Rockchip

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=e571c3ef476a61392777ead56a4324579ecb39d0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x

Fix the following armeb build failure raised since the addition of the package in commit 97c74a73e5dee17530647f89b2c7d8692781eb14:

ERROR: architecture for "/usr/lib/libmali-bifrost-g31-rxp0-gbm.so" is "AArch64", should be "ARM"

Fixes:
- http://autobuild.buildroot.org/results/33ebfa936da8dfa4035db08a96f8872d7c9db6c3

[Arnout: instead of changing the condition to check for aarch64, add a check for armeb]

(cherry picked from commit 487f4b0da9c2ffb0328b3a7d4b59384d29b395b9)
---
 package/rockchip-mali/rockchip-mali.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/rockchip-mali/rockchip-mali.mk +1 -1
index 848682229d..5c8e554346 100644
@@ -14,7 +14,7 @@ ROCKCHIP_MALI_PROVIDES = libegl libgles libgbm
 
 ROCKCHIP_MALI_LIB = libmali-bifrost-g31-rxp0$(ROCKCHIP_MALI_SUFFIX).so
 ROCKCHIP_MALI_PKGCONFIG_FILES = egl gbm glesv2 mali
-ROCKCHIP_MALI_ARCH_DIR = $(if $(BR2_arm),arm-linux-gnueabihf,aarch64-linux-gnu)
+ROCKCHIP_MALI_ARCH_DIR = $(if $(BR2_arm)$(BR2_armeb),arm-linux-gnueabihf,aarch64-linux-gnu)
 ROCKCHIP_MALI_HEADERS = EGL FBDEV GLES GLES2 GLES3 KHR gbm.h
 
 # We need to create:

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot