From 916e1ada1a3a90d6f9712966285bd4b207e11a3b Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Thu, 19 Sep 2024 16:56:47 +0000 Subject: [PATCH] Always pass armv7 flags when building for armv7 --- arch/arm/Makefile | 3 +-- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 5ebe0619d..4335b0d93 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -12,8 +12,7 @@ arch-$(CONFIG_CPU_ARM926EJS) =-march=armv5te arch-$(CONFIG_CPU_ARM946ES) =-march=armv5te arch-$(CONFIG_CPU_ARM1136) =-march=armv5t arch-$(CONFIG_CPU_ARM1176) =-march=armv5t -arch-$(CONFIG_CPU_V7A) =$(call cc-option, -march=armv7-a, \ - $(call cc-option, -march=armv7)) +arch-$(CONFIG_CPU_V7A) =-march=armv7-a arch-$(CONFIG_CPU_V7M) =-march=armv7-m arch-$(CONFIG_CPU_V7R) =-march=armv7-r ifeq ($(CONFIG_ARM64_CRC32),y) diff --git a/debian/changelog b/debian/changelog index 21c388892..7a333ee0f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ u-boot (2024.01+dfsg-5+rpi1) trixie-staging; urgency=medium [changes introduced in 2024.01+dfsg-5+rpi1 by Peter Michael Green] * Don't build mips* targets for quemu either. I don't want to add more cross-compilers to raspbian. + * Always pass armv7 flags when building for armv7 (don't use cc-option, + whatever that is). -- Peter Michael Green Thu, 19 Sep 2024 15:59:18 +0000 -- 2.30.2