Commit Debian 3.0 (quilt) metadata archive/raspbian/2024.01+dfsg-5+rpi1 raspbian/2024.01+dfsg-5+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 19 Sep 2024 17:32:41 +0000 (17:32 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 19 Sep 2024 17:32:41 +0000 (17:32 +0000)
[dgit (11.11) quilt-fixup]

debian/patches/always-pass-armv7-flags-when-building-fo.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/always-pass-armv7-flags-when-building-fo.patch b/debian/patches/always-pass-armv7-flags-when-building-fo.patch
new file mode 100644 (file)
index 0000000..04a1f6a
--- /dev/null
@@ -0,0 +1,22 @@
+From: Peter Michael Green <plugwash@raspbian.org>
+Date: Thu, 19 Sep 2024 16:56:47 +0000
+X-Dgit-Generated: 2024.01+dfsg-5+rpi1 916e1ada1a3a90d6f9712966285bd4b207e11a3b
+Subject: Always pass armv7 flags when building for armv7
+
+
+---
+
+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)
index dce9c43215ede9fd42e404d962e18733f6a1aa05..efde9a6ba34f943e5ca3b60ed8cf2acc48d065c6 100644 (file)
@@ -22,3 +22,4 @@ riscv64/serial-move-sbi_dbcn_available-to-.data-section.patch
 riscv64/riscv-sifive-fu740-reduce-DDR-speed-from-1866MT-s-to-1600MT-s.patch
 
 am62x/0008-arm-dts-k3-am625-Don-t-try-to-build-the-final-firmwa.patch
+always-pass-armv7-flags-when-building-fo.patch