From 184918c00ff4d91bfec6da97b6b0b4ee9a184987 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Sun, 12 Dec 2021 01:13:23 -0300 Subject: [PATCH] set uhd arch to armhf --- 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 0a79ae5..0140a7a 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=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \ - -DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 -Wno-psabi" \ - -DCMAKE_ASM_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15" \ +cmake -DCMAKE_CXX_FLAGS:STRING="-march=armhf -Wno-psabi" \ + -DCMAKE_C_FLAGS:STRING="-march=armhf -Wno-psabi" \ + -DCMAKE_ASM_FLAGS:STRING="-march=armhf" \ -GNinja -DCMAKE_BUILD_TYPE=Release ../ ninja install cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/