| | 1 | DebWrt Build Environment manual |
| | 2 | |
| | 3 | Latest version can be found: [http://dev.debwrt.net/browser/trunk/rules/help.txt] |
| | 4 | |
| | 5 | {{{ |
| | 6 | use: make <target> |
| | 7 | |
| | 8 | Available targets: |
| | 9 | |
| | 10 | help : This help |
| | 11 | |
| | 12 | <no-target> : Build it all |
| | 13 | |
| | 14 | flash : Flash(sftp) image to default IP of target device |
| | 15 | |
| | 16 | menuconfig : DebWrt menu config |
| | 17 | config : DebWrt config |
| | 18 | defconfig : Create default DebWrt Configuration |
| | 19 | oldconfig : DebWrt old config |
| | 20 | config-clean : Clean DebWrt config |
| | 21 | config/target : Update DebWrt target devices list with OpenWrt's list |
| | 22 | |
| | 23 | openwrt/all : Build all of OpenWrt |
| | 24 | openwrt/build : Build OpenWrt |
| | 25 | openwrt/download : Download |
| | 26 | openwrt/prepare : Prepare OpenWrt |
| | 27 | openwrt/merge-config : Merge DebWrt and OpenWrt config |
| | 28 | openwrt/download-link : Set the OpenWrt dowload dir |
| | 29 | openwrt/patch : Apply DebWrt patches to OpenWrt sources |
| | 30 | openwrt/checkout : SVN checkout OpenWrt |
| | 31 | openwrt/update : SVN update OpenWrt |
| | 32 | openwrt/menuconfig : OpenWrt menu config |
| | 33 | openwrt/kernel_menuconfig : Kernel menu config |
| | 34 | openwrt/clean : Clean build directories ( bin/ build_dir/ ) |
| | 35 | openwrt/dirclean : Clean build directories and cross-compile tools |
| | 36 | openwrt/distclean : Clean build directories and cross-compile tools and everything else ( including downloads and .config ) |
| | 37 | openwrt/debwrt-clean : Remove OpenWrt checkout entirely |
| | 38 | |
| | 39 | openwrt/deliver/prepare : Prepare delivery |
| | 40 | openwrt/deliver/import-config : Display run time compile information |
| | 41 | openwrt/deliver/check : Check run time compile information |
| | 42 | openwrt/deliver/image : Deliver firmware images |
| | 43 | openwrt/deliver/kernel-modules : Deliver kernel-modules package and sources |
| | 44 | openwrt/deliver/kernel-headers : Deliver kernel-header package and sources |
| | 45 | openwrt/deliver/packages : Deliver OpenWrt's ipk packages for reference |
| | 46 | openwrt/deliver/config : Deliver DebWrt, OpenWrt and kernel .config files |
| | 47 | openwrt/deliver/clean : Clean delivery directory ( bin/ ) |
| | 48 | |
| | 49 | ch : Enter DebWrt build environment change root as "root" |
| | 50 | chu : Enter DebWrt build environment change root as "user" |
| | 51 | debian/buildenv/create : Create DebWrt build environment |
| | 52 | debian/buildenv/prepare : Prepare DebWrt build environment |
| | 53 | debian/buildenv/emdebian-prepare : Install Emdebin into the DebWrt build environment |
| | 54 | debian/buildenv/qemu-prepare : Setup pre-requisites for Qemu ( currently not used ) |
| | 55 | debian/buildenv/qemu-build : Build Qemu ( currently not used ) |
| | 56 | debian/buildenv/clean : Clean build environment ( entire chroot is deleted ) |
| | 57 | |
| | 58 | debian/package/rootfs : Build all DebWrt Debian packages use in the target Debian root filesystem |
| | 59 | debian/package/clean : Clean all DebWrt Debian packages |
| | 60 | debian/package/<pkg-name>/deliver: Deliver DebWrt Debian package <pkg-name> |
| | 61 | debian/package/<pkg-name>/build : Build DebWrt Debian package <pkg-name> |
| | 62 | debian/package/<pkg-name>/prepare: Prepare DebWrt Debian package <pkg-name> |
| | 63 | debian/package/<pkg-name>/clean : Clean DebWrt Debian package <pkg-name> |
| | 64 | |
| | 65 | debian/rootfs : Create target Debian root filesystem |
| | 66 | debian/rootfs/install : Install Debian root filesystem into /media/DEBWRT_ROOT |
| | 67 | debian/rootfs/save : Create tar.bz2 image from /media/DEBWRT_ROOT ( used by DebWrt to deliver new root fs images ) |
| | 68 | debian/rootfs/files-install : Install additional files, including some device files, to the target root filesystem |
| | 69 | debian/rootfs/modules-install : Install the DebWrt modules package into the target root filesystem |
| | 70 | debian/rootfs/bootstrap : Debootstrap of the target root filesystem |
| | 71 | debian/rootfs/unpack : Re-Unpack all packages installed by debootstrap ( seemed to be needed in the past ) |
| | 72 | debian/rootfs/debwrt-packages : Unpack DebWrt cross compiled packages into the target root filesystem |
| | 73 | debian/rootfs/clean-rootfs-dir : Clean the target root filesystem |
| | 74 | debian/rootfs/post-setup : Post install |
| | 75 | debian/rootfs/clean : Clean it all |
| | 76 | }}} |
| | 77 | |
| | 78 | Links: |
| | 79 | |
| | 80 | * [http://dev.debwrt.net/wiki/DebWrtSvn] |
| | 81 | * [http://wiki.openwrt.org/doc/howto/build] |