用户工具

站点工具


entware:armv7

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
entware:armv7 [2019/05/23 11:45]
Hshh [搭建 entware] 修正configs的复制, 现在区分2.6和3.2 kernel
entware:armv7 [2019/05/23 18:16] (当前版本)
Hshh 修正适应新版本
行 40: 行 40:
 <code> <code>
 export STAGING_DIR=/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi export STAGING_DIR=/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi
-export PATH=$PATH:/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/bin+export PATH=$PATH:/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/bin
 </code> </code>
  
行 49: 行 49:
 --target=arm-openwrt-linux \ --target=arm-openwrt-linux \
 --host=arm-openwrt-linux \ --host=arm-openwrt-linux \
---build=x86_64-linux-gnu \+--build=x86_64-pc-linux-gnu 
 +--prefix=/opt \ 
 +--without-openssl \
 CC=arm-openwrt-linux-gnueabi-gcc \ CC=arm-openwrt-linux-gnueabi-gcc \
 +CPP='arm-openwrt-linux-gnueabi-gcc -E' \
 CFLAGS='-O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC' \ CFLAGS='-O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC' \
-CPPFLAGS='-I/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/include -I/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/usr/include -I/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/include'+CPPFLAGS='-I/opt/entware/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/opt/entware/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/include'
-LDFLAGS='-L/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -L/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/usr/lib -L/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/lib'+LDFLAGS='-L/opt/entware/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/opt/entware/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/opt/entware/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/lib'
 </code> </code>
  
行 63: 行 66:
 make package/ncurses/compile make package/ncurses/compile
 make package/lzo/compile make package/lzo/compile
-make package/libreadline/compile+make package/readline/compile
 make package/zlib/compile make package/zlib/compile
 +make package/openssl/compile
 </code> </code>
  
行 72: 行 76:
 --target=arm-openwrt-linux \ --target=arm-openwrt-linux \
 --host=arm-openwrt-linux \ --host=arm-openwrt-linux \
---build=x86_64-linux-gnu \+--build=x86_64-pc-linux-gnu \
 --prefix=/opt \ --prefix=/opt \
 --without-openssl \ --without-openssl \
 CC=arm-openwrt-linux-gnueabi-gcc \ CC=arm-openwrt-linux-gnueabi-gcc \
 +CPP='arm-openwrt-linux-gnueabi-gcc -E' \
 CFLAGS='-O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC' \ CFLAGS='-O2 -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -fPIC' \
-CPPFLAGS='-I/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/include -I/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/usr/include -I/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/include'+CPPFLAGS='-I/opt/entware/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/include -I/opt/entware/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/include'
-LDFLAGS='-L/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -L/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/opt/arm/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/usr/lib -L/opt/arm/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-5.3.0_glibc-2.23_eabi/lib'+LDFLAGS='-L/opt/entware/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/opt/entware/Entware/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt/lib -Wl,--dynamic-linker=/opt/lib/ld-linux.so.3 -L/opt/entware/Entware/staging_dir/toolchain-arm_cortex-a9_gcc-7.4.0_glibc-2.23_eabi/lib'
 make make
 </code> </code>
entware/armv7.txt · 最后更改: 2019/05/23 18:16 由 Hshh