Topic: [howto] Building OpenWrt Kamikaze from source
Building OpenWrt Kamikaze from source
Assuming you are using Ubuntu 6.06.1 LTS (on a physical system or in the VMware Player)
1. install packages required by the OpenWrt Kamikaze buildsystem
aptitude install build-essential binutils flex bison autoconf gettext texinfo sharutils subversion libncurses5-dev ncurses-term zlib1g-dev
2. checkout and prepare Kamikaze and the packages
cd ~ svn co https://svn.openwrt.org/openwrt/trunk/ svn co https://svn.openwrt.org/openwrt/packages/ ~/trunk/feeds/packages/ cd ~/trunk/ make package/symlinks
2.1 Configure Kamikaze (select target system) and the packages (a full build with all packages selected requires about 9GB of free disk space)
2.2 If you select extra packages it's a good idea to check if you have all prerequisites installed. Check with:
TIP: To find the missing packages search at http://packages.ubuntu.com/
2.3 Finally build Kamikaze (to download all packages at once use 'make download world')
3. After the build finished, ready to use images can be found in $(TOPDIR)/bin
Targets for 'make'
download all source tarballs (from the selected packages and it's dependencies) at once before starting the build
checks if you have all prerequisites installed on the host-system for building the selected packages
only build the tools and the toolchain
cleans the packages (NOT the tools and toolchain)
cleans up everything expect $(TOPDIR)/.config and $(TOPDIR)/dl/
rebuild a single package
turns on debugging
If you want, you can also modify the kernel config for the selected target system. Simply run "make kernel_menuconfig"
and the build system will unpack the kernel sources (if necessary), run menuconfig inside of the kernel tree, and then
copy the kernel config to target/linux/<platform>/config so that it is preserved over "make clean" call.
Some more useful URLs:
- Free VMware Player (enough for most users, no need for the VMware Server)
- Download VMDK and VMX files for VMware Player
- Ubuntu (for the Ubuntu ISO image)
- Free VMware Server (also includes the VMware Tools)
1x ASUS WL-500g Premium with Wistron CM9 WiFi card (Kamikaze 7.09, BCM947xx//953xx [2.4])
1x Linksys WRT54GL v1.1 with 512MB MMC card mod, optimized MMC driver (Kamikaze trunk r9548, BCM947xx//953xx [2.4])
NO support via PM.