From Reliable Peafowl, 11 Years ago, written in Plain Text.
Embed
  1.  
  2. -------------------------
  3.  cjdns for alix2 example
  4. -------------------------
  5.  
  6. rm -fr staging_dir build_dir bin broken_packages
  7. make distclean
  8.  
  9. echo CONFIG_TARGET_x86=y > .config
  10. echo CONFIG_TARGET_x86_alix2=y >> .config
  11. echo CONFIG_PACKAGE_cjdns=y >> .config
  12. echo CONFIG_PACKAGE_luci-cjdns=y >> .config
  13. echo CONFIG_PACKAGE_lilo=n >> .config
  14. echo CONFIG_ALL=y >> .config
  15.  
  16.  
  17. ./scripts/feeds update -a
  18. ./scripts/feeds install -a
  19.  
  20. make defconfig
  21. make prereq
  22. make IGNORE_ERRORS=m V=99 BUILD_LOG=1 tools/install
  23. make IGNORE_ERRORS=m V=99 BUILD_LOG=1 toolchain/install
  24. make IGNORE_ERRORS=m V=99 BUILD_LOG=1 target/compile
  25. make IGNORE_ERRORS=m V=99 BUILD_LOG=1 package/compile
  26. make IGNORE_ERRORS=m V=99 BUILD_LOG=1 package/install
  27. make IGNORE_ERRORS=m V=99 BUILD_LOG=1 package/index
  28. make IGNORE_ERRORS=m V=99 BUILD_LOG=1 target/install
  29.  
  30. rm -fvr staging_dir build_dir bin
  31. make distclean V=99