ubuntu下只需要make menuconfig选target ls1043选好,就可以编arm的映像了。
openwrt会自己找到交叉编译工具,并自动开始编译。
在z用户下,不能用root用户
mkdir test
chmod 777 test
1
git clone https://gitee.com/harvey520/openwrt.git
2
修改 openwrt 源码目录的 feeds.conf.default 文件中的镜像源
src-git packages https://gitee.com/harvey520/packages.git
src-git luci https://gitee.com/harvey520/luci.git
src-git routing https://gitee.com/harvey520/routing.git
src-git telephony https://gitee.com/harvey520/telephony.git
#src-git video https://github.com/openwrt/video.git
#src-git targets https://github.com/openwrt/targets.git
#src-git oldpackages http://git.openwrt.org/packages.git
#src-link custom /usr/src/openwrt/custom-feed
3
cd openwrt
git clone https://e.coding.net/yao7778899/openwrt-dependent-dl.git dl
4
./scripts/feeds update -a
./scripts/feeds install -a
5
make defconfig
6
make menuconfig
7
make V=99