From b501c13769e29b50ba8935fcc4c285355c1fd150 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Sun, 12 Dec 2021 14:12:13 -0300 Subject: [PATCH] tweak armv6 build --- stage4/05-pisdr-uhd/00-run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stage4/05-pisdr-uhd/00-run.sh b/stage4/05-pisdr-uhd/00-run.sh index f2822b1..3c9529c 100755 --- a/stage4/05-pisdr-uhd/00-run.sh +++ b/stage4/05-pisdr-uhd/00-run.sh @@ -11,9 +11,9 @@ fi cd uhd/host mkdir -p build cd build -cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv6-m -mfloat-abi=hard -Wno-psabi" \ - -DCMAKE_C_FLAGS:STRING="-march=armv6-m -mfloat-abi=hard -Wno-psabi" \ - -DCMAKE_ASM_FLAGS:STRING="-march=armv6-m -mfloat-abi=hard " \ +cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Wno-psabi" \ + -DCMAKE_C_FLAGS:STRING="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Wno-psabi" \ + -DCMAKE_ASM_FLAGS:STRING="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard " \ -GNinja -DCMAKE_BUILD_TYPE=Release ../ ninja install cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/