openwrt整个版本入git库

  1. git clone git://git.openwrt.org/openwrt/openwrt.git,如果只有https代理,可以使用git clone https://git.openwrt.org/openwrt/openwrt.git
  2. ./scripts/feeds update -a
  3. ./scripts/feeds install -a
  4. find . -name .git | xargs rm -r
  5. find . -name .github |xargs rm -r
  6. find . -name .gitignore |xargs rm -r
  7. make menuconfig,然后编译
  8. rm build_dir/ staging_dir/ tmp/ bin/ -rf 
  9. 入git库

你可能感兴趣的:(Openwrt)