瀏覽代碼

tweak armv6 build

pull/64/head
luigifcruz 2 年之前
父節點
當前提交
b501c13769
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      stage4/05-pisdr-uhd/00-run.sh

+ 3
- 3
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/


Loading…
取消
儲存