From 62243e0dad4a5198e64296d91febdc21e208e3e7 Mon Sep 17 00:00:00 2001 From: chn <897331845@qq.com> Date: Sun, 8 Dec 2019 19:43:51 +0800 Subject: [PATCH] --- compile.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compile.md b/compile.md index 56e02f4..b214b66 100644 --- a/compile.md +++ b/compile.md @@ -100,8 +100,8 @@ make package/xmurp-ua/compile V=sc ARCH=mips CROSS_COMPILE=/home/chn/Desktop/led 在给某个潘多拉编译的时候,发现在一些地方 `ARCH` 为 `mips` 而另一些地方为 `mipsel`。记得之前给某个版本的 LEDE 编译时也出现过类似的错误。用软链接解决。 ```bash -cd build_dir/target-mipsel_1004kc+dsp_uClibc-1.0.x/linux-ralink_mt7621/linux-3.14.79/arch -ln -s mips mipsel -cd ../../../../.. -make package/xmurp-ua/compile V=sc ARCH=mipsel CROSS_COMPILE=/home/chn/Desktop/PandoraBox-SDK-ralink-mt7621_gcc-5.5.0_uClibc-1.0.x.Linux-x86_64-2019-02-01-git-0231ad4b5/staging_dir/toolchain-mipsel_1004kc+dsp_gcc-5.5.0_uClibc-1.0.x/bin/mipsel-openwrt-linux- +cd build_dir +ln -s target-mipsel_1004kc+dsp_uClibc-1.0.x target-mips_1004kc+dsp_uClibc-1.0.x +cd .. +make package/xmurp-ua/compile V=sc ARCH=mips CROSS_COMPILE=/home/chn/Desktop/PandoraBox-SDK-ralink-mt7621_gcc-5.5.0_uClibc-1.0.x.Linux-x86_64-2019-02-01-git-0231ad4b5/staging_dir/toolchain-mipsel_1004kc+dsp_gcc-5.5.0_uClibc-1.0.x/bin/mipsel-openwrt-linux- ``` \ No newline at end of file