2017-3-8_在MacOS Sierra 大件OpenWrt开发环境

在MacOS Sierra 大件OpenWrt开发环境

下载OpenWrt源码

$git clone git://git.openwrt.org/14.07/openwrt.git

更新和安装更新

$cd openwrt
$./scripts/feeds update -a  //更新
$./scripts/feeds install -a //安装更新

Openwrt的源码打上JS9331开发板的补丁
补丁文件在JS9331开发板配套资料\源代码

$patch -p1 < js9331_openwrt.patch

patching file package/base-files/files/etc/config/system
patching file package/base-files/files/etc/hotplug.d/button/00-button
patching file package/base-files/files/lib/functions/uci-defaults.sh
patching file include/kernel-defaults.mk
patching file feeds/luci/modules/base/root/etc/config/luci
patching file package/kernel/mac80211/files/lib/wifi/mac80211.sh
patching file target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
patching file target/linux/ar71xx/base-files/etc/uci-defaults/10_js9331
patching file target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr720n-v3.c
patching file target/linux/ar71xx/image/Makefile
patching file package/kernel/linux/modules/nls.mk

发表评论