[Howto] Compile LuCI GUI and OpenWrt
$ cd ~/
$ svn checkout https://svn.openwrt.org/openwrt/trunk/ ~/trunk/
$ cd ~/trunk/
$ ./scripts/feeds update packages luci
$ ./scripts/feeds install -a -p luci
$ make menuconfig
In menuconfig change:
- Target System
- Subtarget
- Target Profile
- Base system
- firewall
- Choose firewall: new uci firewall
- Administration
- LuCI Components
- luci-admin-full: Y
- luci-app-ddns: Y
- luci-app-firewall: Y
- luci-app-ntpc: Y
- luci-app-qos: Y
$ make world
openwrt@ubuntu:~/trunk-atheros$ make world
++ mkdir -p /home/openwrt/trunk-atheros/staging_dir/toolchain-mips_gcc4.1.2
++ cd /home/openwrt/trunk-atheros/staging_dir/toolchain-mips_gcc4.1.2
++ mkdir -p bin lib include stamp
Checking 'bison'... ok.
make[1] world
make[2] target/compile
make[3] -C target/linux compile
make[2] package/cleanup
make[2] package/compile
make[3] -C package/base-files compile
make[3] -C package/bridge-utils compile
make[3] -C package/busybox compile
make[3] -C package/dnsmasq compile
make[3] -C package/dropbear compile
make[3] -C package/e2fsprogs compile
make[3] -C package/lua compile
make[3] -C feeds/luci/bitlib compile
make[3] -C feeds/luci/luaposix compile
make[3] -C feeds/packages/libs/libnotimpl compile
make[3] -C package/uci compile
make[3] -C feeds/luci/luci-addons compile
make[3] -C feeds/luci/luasocket compile
make[3] -C feeds/packages/net/olsrd compile
make[3] -C package/iproute2 compile
make[3] -C package/iptables compile
make[3] -C package/firewall compile
make[3] -C package/qos-scripts compile
make[3] -C package/libtool compile
make[3] -C package/libpcap compile
make[3] -C package/zlib compile
make[3] -C feeds/packages/libs/rrdtool-1.0.x compile
make[3] -C feeds/packages/utils/collectd compile
make[3] -C feeds/packages/net/miniupnpd compile
make[3] -C feeds/packages/net/ntpclient compile
make[3] -C feeds/packages/net/ddns-scripts compile
make[3] -C feeds/luci/luci compile
make[3] -C package/ncurses compile
make[3] -C feeds/packages/utils/nano compile
make[3] -C package/openssl compile
make[3] -C package/wireless-tools compile
make[3] -C package/madwifi compile
make[3] -C package/mac80211 compile
make[3] -C package/libnl compile
make[3] -C package/hostapd compile
make[3] -C package/hotplug2 compile
make[3] -C package/kernel compile
make[3] -C package/mmc_over_gpio compile
make[3] -C package/mtd compile
make[3] -C package/linux-atm compile
make[3] -C package/ppp compile
make[3] -C package/udev compile
make[3] -C package/util-linux-ng compile
make[2] package/install
make[3] -C package/base-files install
make[3] -C package/bridge-utils install
make[3] -C package/busybox install
make[3] -C package/dnsmasq install
make[3] -C package/dropbear install
make[3] -C package/e2fsprogs install
make[3] -C feeds/luci/bitlib install
make[3] -C feeds/luci/luaposix install
make[3] -C feeds/luci/luci install
make[3] -C feeds/luci/luci-addons install
make[3] -C feeds/packages/net/ddns-scripts install
make[3] -C feeds/packages/utils/nano install
make[3] -C feeds/packages/net/ntpclient install
make[3] -C package/firewall install
make[3] -C package/hostapd install
make[3] -C package/hotplug2 install
make[3] -C package/iproute2 install
make[3] -C package/iptables install
make[3] -C package/kernel install
make[3] -C package/lua install
make[3] -C package/madwifi install
make[3] -C package/mmc_over_gpio install
make[3] -C package/mtd install
make[3] -C package/ncurses install
make[3] -C package/openssl install
make[3] -C package/ppp install
make[3] -C package/qos-scripts install
make[3] -C package/uci install
make[3] -C package/udev install
make[3] -C package/util-linux-ng install
make[3] -C package/wireless-tools install
make[3] -C package/zlib install
make[2] package/rootfs-prepare
make[3] package/preconfig
make[2] target/install
make[3] -C target/linux install
make[2] package/index
openwrt@ubuntu:~/trunk-atheros$ list-ipkg.sh
Installed packages (80):
base-files-atheros
bitlib
bridge
busybox
cfdisk
ddns-scripts
dnsmasq
dropbear
e2fsprogs
firewall
hostapd
hotplug2
iptables
iptables-mod-conntrack
iptables-mod-extra
iptables-mod-filter
iptables-mod-imq
iptables-mod-ipopt
iptables-mod-ulog
kernel
kmod-crc7
kmod-crc-itu-t
kmod-fs-ext3
kmod-ipt-conntrack
kmod-ipt-extra
kmod-ipt-filter
kmod-ipt-ipopt
kmod-ipt-nathelper
kmod-ipt-ulog
kmod-madwifi
kmod-mmc
kmod-mmc-spi
kmod-nls-base
kmod-nls-iso8859-15
kmod-nls-utf8
kmod-ppp
kmod-pppoe
kmod-sched
kmod-spi-bitbang
kmod-spi-gpio
libblkid
libgcc
liblua
libncurses
libopenssl
libuci
libuci-lua
libuuid
lua
luaposix
luci-addons
luci-admin-core
luci-admin-full
luci-admin-mini
luci-app-ddns
luci-app-firewall
luci-app-ntpc
luci-app-qos
luci-cbi
luci-core
luci-http
luci-i18n-english
luci-ipkg
luci-sgi-cgi
luci-sys
luci-theme-openwrt
luci-uci
luci-web
mtd
nano
ntpclient
ppp
ppp-mod-pppoe
qos-scripts
tc
uci
uclibc
udevtrigger
wireless-tools
zlib
openwrt@ubuntu:~/trunk-atheros$ ll -h bin/
total 14M
-rw-r--r-- 1 openwrt openwrt 2.5M 2008-08-11 12:07 openwrt-atheros-root.squashfs
-rw-r--r-- 1 openwrt openwrt 3.3M 2008-08-11 12:07 openwrt-atheros-ubnt2-squashfs.bin
-rw-r--r-- 1 openwrt openwrt 3.3M 2008-08-11 12:07 openwrt-atheros-ubnt5-squashfs.bin
-rwxr-xr-x 1 openwrt openwrt 2.3M 2008-08-11 12:07 openwrt-atheros-vmlinux.elf
-rw-r--r-- 1 openwrt openwrt 1.0M 2008-08-11 12:07 openwrt-atheros-vmlinux.gz
-rw-r--r-- 1 openwrt openwrt 768K 2008-08-11 12:07 openwrt-atheros-vmlinux.lzma
drwxr-xr-x 3 openwrt openwrt 4.0K 2008-08-09 20:07 packages
openwrt@ubuntu:~/trunk-atheros$ ll -h bin/packages/mips/
total 3.3M
-rw-r--r-- 1 openwrt openwrt 26K 2008-08-09 20:14 base-files-atheros_13-r12259_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.5K 2008-08-11 11:33 bitlib_25-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 9.1K 2008-08-09 20:07 bridge_1.0.6-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 307K 2008-08-11 12:04 busybox_1.8.2-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 28K 2008-08-11 12:04 cfdisk_2.13.0.1-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 7.7K 2008-08-11 11:40 ddns-scripts_1.0.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 72K 2008-08-09 20:09 dnsmasq_2.45-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 100K 2008-08-09 20:11 dropbear_0.51-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 167K 2008-08-11 12:04 e2fsprogs_1.40.11-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 3.2K 2008-08-09 20:11 firewall_1-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 146K 2008-08-11 12:05 hostapd_0.6.3-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 12K 2008-08-09 20:11 hotplug2_0.9+r102-2_mips.ipk
-rw-r--r-- 1 openwrt openwrt 43K 2008-08-11 11:42 iptables_1.4.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 12K 2008-08-11 11:42 iptables-mod-conntrack_1.4.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 8.6K 2008-08-11 11:42 iptables-mod-extra_1.4.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 18K 2008-08-11 11:42 iptables-mod-filter_1.4.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 725 2008-08-11 11:42 iptables-mod-imq_1.4.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 20K 2008-08-11 11:42 iptables-mod-ipopt_1.4.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 3.1K 2008-08-11 11:42 iptables-mod-ulog_1.4.0-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 633 2008-08-11 12:05 kernel_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 1.9K 2008-08-11 12:06 kmod-crc7_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.3K 2008-08-11 12:06 kmod-crc-itu-t_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 91K 2008-08-11 12:05 kmod-fs-ext3_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 12K 2008-08-11 12:05 kmod-ipt-conntrack_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 15K 2008-08-11 12:05 kmod-ipt-extra_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 15K 2008-08-11 12:05 kmod-ipt-filter_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 13K 2008-08-11 12:05 kmod-ipt-ipopt_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 12K 2008-08-11 12:05 kmod-ipt-nathelper_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 4.6K 2008-08-11 12:05 kmod-ipt-ulog_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 298K 2008-08-09 20:15 kmod-madwifi_2.6.26.2+r3314-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 29K 2008-08-11 12:06 kmod-mmc_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 7.1K 2008-08-11 12:06 kmod-mmc-spi_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 3.7K 2008-08-11 12:05 kmod-nls-base_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.7K 2008-08-11 12:05 kmod-nls-iso8859-15_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 1.9K 2008-08-11 12:05 kmod-nls-utf8_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 26K 2008-08-11 12:05 kmod-ppp_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 8.3K 2008-08-11 12:06 kmod-pppoe_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 95K 2008-08-11 12:06 kmod-sched_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 3.5K 2008-08-11 12:06 kmod-spi-bitbang_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 3.7K 2008-08-11 12:06 kmod-spi-gpio_2.6.26.2-atheros-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 17K 2008-08-11 12:04 libblkid_1.40.11-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 25K 2008-08-09 20:14 libgcc_4.1.2-13_mips.ipk
-rw-r--r-- 1 openwrt openwrt 66K 2008-08-11 11:43 liblua_5.1.3-2_mips.ipk
-rw-r--r-- 1 openwrt openwrt 136K 2008-08-11 11:58 libncurses_5.6-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 478K 2008-08-11 12:01 libopenssl_0.9.8h-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 13K 2008-08-11 11:43 libuci_0.4.8-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 4.8K 2008-08-11 11:43 libuci-lua_0.4.8-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 7.3K 2008-08-11 12:04 libuuid_1.40.11-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 5.3K 2008-08-11 11:43 lua_5.1.3-2_mips.ipk
-rw-r--r-- 1 openwrt openwrt 12K 2008-08-11 11:34 luaposix_5.1.3-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.5K 2008-08-11 11:35 luci-addons_0.2-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.5K 2008-08-11 12:04 luci-admin-core_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 13K 2008-08-11 12:04 luci-admin-full_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 7.7K 2008-08-11 12:04 luci-admin-mini_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.4K 2008-08-11 12:04 luci-app-ddns_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 4.2K 2008-08-11 12:04 luci-app-firewall_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 1.8K 2008-08-11 12:04 luci-app-ntpc_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.5K 2008-08-11 12:04 luci-app-qos_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 9.6K 2008-08-11 12:04 luci-cbi_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 16K 2008-08-11 12:04 luci-core_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 10K 2008-08-11 12:04 luci-http_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 7.3K 2008-08-11 12:05 luci-i18n-english_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.1K 2008-08-11 12:04 luci-ipkg_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.1K 2008-08-11 12:04 luci-sgi-cgi_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 6.6K 2008-08-11 12:04 luci-sys_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 70K 2008-08-11 12:04 luci-theme-openwrt_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 2.5K 2008-08-11 12:04 luci-uci_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 9.6K 2008-08-11 12:04 luci-web_0.7+svn2777-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 8.1K 2008-08-09 20:13 mtd_7_mips.ipk
-rw-r--r-- 1 openwrt openwrt 32K 2008-08-11 11:59 nano_2.0.7-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 12K 2008-08-11 11:40 ntpclient_2007_365-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 32K 2008-08-11 12:07 Packages
-rw-r--r-- 1 openwrt openwrt 6.6K 2008-08-11 12:07 Packages.gz
-rw-r--r-- 1 openwrt openwrt 109K 2008-08-09 20:15 ppp_2.4.3-10_mips.ipk
-rw-r--r-- 1 openwrt openwrt 11K 2008-08-09 20:15 ppp-mod-pppoe_2.4.3-10_mips.ipk
-rw-r--r-- 1 openwrt openwrt 6.3K 2008-08-11 11:36 qos-scripts_1.2.1-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 87K 2008-08-11 11:35 tc_2.6.25-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 6.1K 2008-08-11 11:43 uci_0.4.8-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 201K 2008-08-09 20:14 uclibc_0.9.29-13_mips.ipk
-rw-r--r-- 1 openwrt openwrt 9.7K 2008-08-09 20:14 udevtrigger_106-1_mips.ipk
-rw-r--r-- 1 openwrt openwrt 32K 2008-08-09 20:12 wireless-tools_29-2_mips.ipk
-rw-r--r-- 1 openwrt openwrt 36K 2008-08-11 12:06 zlib_1.2.3-5_mips.ipk
openwrt@ubuntu:~/trunk-atheros$
LuCI website:
@LuIC developers: it would be nice to have a OpenWrt theme without the OpenWrt logo and background image
(Last edited by Yanira on 23 Sep 2008, 13:45)