From 7517b05225b95af1ebe97ea0306c174f983efd8c Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Mon, 4 Nov 2024 20:39:36 +0100 Subject: [PATCH] don't use arm-linux-gnueabihf binaries for rpi0 platform (fixes #2888). --- buildroot-external/package/occu/occu.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/buildroot-external/package/occu/occu.mk b/buildroot-external/package/occu/occu.mk index b03f81f166..40c8047c14 100644 --- a/buildroot-external/package/occu/occu.mk +++ b/buildroot-external/package/occu/occu.mk @@ -107,7 +107,11 @@ endif ifeq ($(BR2_arm),y) OCCU_COMMON=arm-gnueabihf-gcc8 - OCCU_ARCH32=arm-linux-gnueabihf + ifeq (,$(findstring rpi0,$(PRODUCT))) + OCCU_ARCH32= + else + OCCU_ARCH32=arm-linux-gnueabihf + endif OCCU_ARCH64= OCCU_LIB32=lib OCCU_LIB64= @@ -138,7 +142,8 @@ ifeq ($(BR2_x86_64),y) endif define OCCU_INSTALL_TARGET_CMDS - $(MAKE) OCCU_RF_PROTOCOL=$(OCCU_RF_PROTOCOL) \ + $(MAKE) PRODUCT=$(PRODUCT) \ + OCCU_RF_PROTOCOL=$(OCCU_RF_PROTOCOL) \ OCCU_COMMON=$(OCCU_COMMON) \ OCCU_ARCH32=$(OCCU_ARCH32) \ OCCU_ARCH64=$(OCCU_ARCH64) \