From 39ed9eab85c390e575242b9d170f290272b6f582 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 13 Oct 2006 20:51:49 +0000 Subject: [PATCH] finally move buildroot-ng to trunk SVN-Revision: 5059 --- BSDmakefile | 2 + Config.in | 101 + LICENSE | 340 + Makefile | 141 + README | 24 + docs/config.txt | 72 + docs/network-scripts.txt | 52 + docs/network.txt | 79 + include/host-build.mk | 123 + include/host.mk | 31 + include/image.mk | 96 + include/kernel-build.mk | 145 + include/kernel.mk | 106 + include/modules-2.4.mk | 196 + include/modules-2.6.mk | 233 + include/netfilter.mk | 122 + include/package.mk | 372 + include/prereq-build.mk | 105 + include/prereq.mk | 54 + include/shell.sh | 15 + include/target.mk | 31 + include/verbose.mk | 43 + package/Makefile | 69 + package/alsa/Makefile | 81 + package/alsa/files/alsa.modules | 10 + package/alsa/patches/100-compile_fix.patch | 18 + package/arptables/Makefile | 42 + package/base-files/Makefile | 191 + package/base-files/ar7-2.4/bin/firstboot | 89 + package/base-files/ar7-2.4/etc/config/network | 14 + .../base-files/ar7-2.4/etc/init.d/S00adam2 | 12 + package/base-files/ar7-2.4/etc/preinit | 11 + package/base-files/ar7-2.4/sbin/mount_root | 28 + .../base-files/aruba-2.6/etc/config/network | 11 + .../base-files/au1000-2.6/etc/config/network | 14 + package/base-files/au1000-2.6/sbin/mount_root | 26 + package/base-files/brcm-2.4/bin/firstboot | 90 + .../base-files/brcm-2.4/etc/config/wireless | 14 + .../brcm-2.4/etc/init.d/S05netconfig | 87 + package/base-files/brcm-2.4/etc/preinit | 13 + package/base-files/brcm-2.4/sbin/mount_root | 34 + package/base-files/brcm-2.6/bin/firstboot | 90 + .../brcm-2.6/etc/init.d/S05netconfig | 87 + package/base-files/brcm-2.6/etc/preinit | 13 + package/base-files/brcm-2.6/sbin/mount_root | 35 + package/base-files/default/bin/ipcalc | 32 + package/base-files/default/bin/login | 18 + package/base-files/default/bin/uci | 159 + package/base-files/default/etc/banner | 10 + package/base-files/default/etc/config/network | 13 + package/base-files/default/etc/functions.sh | 119 + package/base-files/default/etc/group | 2 + package/base-files/default/etc/hosts | 1 + .../default/etc/hotplug.d/block/01-mount | 26 + .../default/etc/hotplug.d/net/10-net | 28 + .../default/etc/hotplug.d/usb/01-ln | 33 + package/base-files/default/etc/init.d/S10boot | 25 + .../base-files/default/etc/init.d/S40network | 11 + .../base-files/default/etc/init.d/S50httpd | 10 + .../base-files/default/etc/init.d/S50telnet | 10 + package/base-files/default/etc/init.d/S60cron | 12 + package/base-files/default/etc/init.d/rcS | 26 + package/base-files/default/etc/inittab | 3 + package/base-files/default/etc/ipkg.conf | 3 + package/base-files/default/etc/nvram.sh | 19 + package/base-files/default/etc/passwd | 2 + package/base-files/default/etc/profile | 12 + package/base-files/default/etc/protocols | 56 + package/base-files/default/etc/rc.common | 73 + package/base-files/default/etc/resolv.conf | 2 + package/base-files/default/etc/shells | 1 + package/base-files/default/etc/sysctl.conf | 12 + .../default/lib/config/uci-update.awk | 160 + package/base-files/default/lib/config/uci.sh | 138 + .../base-files/default/lib/network/config.sh | 143 + package/base-files/default/rom/note | 3 + package/base-files/default/sbin/hotplug | 26 + package/base-files/default/sbin/ifdown | 34 + package/base-files/default/sbin/ifup | 14 + package/base-files/default/sbin/mount_root | 10 + package/base-files/default/sbin/wifi | 44 + package/base-files/default/usr/lib/common.awk | 68 + .../default/usr/lib/parse-config.awk | 42 + .../default/usr/share/udhcpc/default.script | 57 + .../base-files/rb532-2.6/etc/config/network | 12 + .../base-files/sibyte-2.6/etc/config/network | 14 + package/base-files/sibyte-2.6/etc/inittab | 5 + package/base-files/src/adam2patcher.c | 59 + package/base-files/src/jffs2root.c | 133 + package/base-files/x86-2.4/etc/config/network | 19 + package/base-files/x86-2.6/etc/config/network | 19 + .../base-files/xscale-2.6/etc/config/network | 11 + package/bridge/Makefile | 46 + .../patches/patch-libbridge_Makefile_in | 11 + package/broadcom-wl/Makefile | 148 + .../broadcom-wl/files/lib/wifi/broadcom.sh | 177 + package/broadcom-wl/src/kmod/Makefile | 31 + package/broadcom-wl/src/kmod/bcmip.h | 101 + package/broadcom-wl/src/kmod/bcmutils.c | 857 + package/broadcom-wl/src/kmod/hnddma.c | 1157 + package/broadcom-wl/src/kmod/hnddma.h | 156 + package/broadcom-wl/src/kmod/linux_osl.c | 269 + package/broadcom-wl/src/kmod/linux_osl.h | 171 + package/broadcom-wl/src/kmod/patchtable.pl | 61 + package/broadcom-wl/src/kmod/pktq.h | 97 + package/broadcom-wl/src/kmod/sbhnddma.h | 284 + package/broadcom-wl/src/wlc/Makefile | 9 + package/broadcom-wl/src/wlc/include/bcmdefs.h | 106 + .../broadcom-wl/src/wlc/include/bcmutils.h | 258 + .../src/wlc/include/proto/802.11.h | 1258 + .../src/wlc/include/proto/bcmeth.h | 101 + .../src/wlc/include/proto/bcmevent.h | 152 + .../src/wlc/include/proto/ethernet.h | 165 + .../broadcom-wl/src/wlc/include/proto/wpa.h | 148 + .../broadcom-wl/src/wlc/include/typedefs.h | 230 + package/broadcom-wl/src/wlc/include/wlioctl.h | 1384 + package/broadcom-wl/src/wlc/include/wlutils.h | 102 + package/broadcom-wl/src/wlc/ioctl.c | 298 + package/broadcom-wl/src/wlc/wlc.c | 1140 + package/busybox/Makefile | 73 + package/busybox/config/Config.in | 474 + package/busybox/config/archival/Config.in | 308 + .../busybox/config/console-tools/Config.in | 88 + package/busybox/config/coreutils/Config.in | 775 + package/busybox/config/debianutils/Config.in | 88 + package/busybox/config/e2fsprogs/Config.in | 67 + package/busybox/config/editors/Config.in | 131 + package/busybox/config/findutils/Config.in | 159 + package/busybox/config/init/Config.in | 83 + package/busybox/config/libbb/Config.in | 22 + package/busybox/config/loginutils/Config.in | 163 + package/busybox/config/miscutils/Config.in | 346 + package/busybox/config/modutils/Config.in | 147 + package/busybox/config/networking/Config.in | 710 + .../busybox/config/networking/udhcp/Config.in | 62 + package/busybox/config/procps/Config.in | 121 + package/busybox/config/shell/Config.in | 294 + package/busybox/config/sysklogd/Config.in | 109 + package/busybox/config/util-linux/Config.in | 480 + .../patches/001-wget_long_options.patch | 22 + package/busybox/patches/100-killall5.patch | 85 + package/busybox/patches/110-telnetd.patch | 51 + .../busybox/patches/140-unlink-passwd.patch | 32 + .../busybox/patches/150-udhcp-release.patch | 90 + .../busybox/patches/170-udhcp-options.patch | 15 + .../busybox/patches/180-telnetd_ipv6.patch | 12 + .../busybox/patches/190-ash_performance.patch | 80 + .../busybox/patches/200-etc_crontabs.patch | 24 + .../busybox/patches/210-passwd_limit.patch | 15 + package/busybox/patches/220-awk_bitops.patch | 64 + package/busybox/patches/230-grep_C.patch | 12 + package/busybox/patches/300-netmsg.patch | 110 + .../busybox/patches/310-passwd_access.patch | 44 + .../patches/320-httpd_address_binding.patch | 95 + .../patches/330-httpd_user_agent.patch | 30 + package/busybox/patches/340-lock_util.patch | 180 + package/busybox/patches/911-ipkg.patch | 13896 ++++++ .../patches/912-ipkg-no_warnings.patch | 448 + package/busybox/patches/913-libbb_hash.patch | 228 + package/busybox/patches/914-ipkg-fixes.patch | 19 + package/diag/Makefile | 48 + package/diag/src/Makefile | 19 + package/diag/src/diag.c | 284 + package/dnsmasq/Makefile | 55 + package/dnsmasq/files/dnsmasq.conf | 28 + package/dnsmasq/files/dnsmasq.init | 57 + package/dnsmasq/patches/101-ipv6.patch | 13 + package/dropbear/Makefile | 120 + package/dropbear/files/dropbear.init | 23 + .../dropbear/patches/100-pubkey_path.patch | 45 + .../dropbear/patches/110-change_user.patch | 19 + .../dropbear/patches/120-hostkey_prompt.patch | 12 + .../patches/130-ssh_ignore_o_and_x_args.patch | 22 + .../patches/140-use_dev_urandom.patch | 12 + .../patches/150-dbconvert_standalone.patch | 14 + package/ebtables/Makefile | 43 + package/fuse/Makefile | 153 + package/fuse/patches/101-kmod_build.patch | 46 + package/fuse/patches/102-no_depmod.patch | 15 + package/fuse/patches/111-uclibc_changes.patch | 16 + .../fuse/patches/112-no_break_on_mknod.patch | 12 + package/gdbserver/Makefile | 69 + package/gmp/Makefile | 65 + package/haserl/Makefile | 36 + package/hostap-utils/Makefile | 48 + package/hostap/Makefile | 139 + package/hostapd/Makefile | 132 + package/hostapd/files/default.config | 69 + package/hostapd/files/mini.config | 69 + .../patches/001-cross_compile_fix.patch | 35 + .../hostapd/patches/100-madwifi_fixes.patch | 52 + package/iproute2/Makefile | 68 + .../patches/000-debian_patches_3.patch | 1425 + .../patches/001-iproute2-2.6.11_Config.patch | 8 + .../patches/002-iproute2-ipxfrm_no_sctp.patch | 19 + .../patches/003-iproute2-htb_overhead.patch | 96 + package/ipsec-tools/Makefile | 99 + package/ipsec-tools/patches/01-no_libfl.patch | 24 + .../patches/02-configure_cppflags_typo.patch | 24 + package/ipset/Makefile | 45 + package/ipset/patches/kernel26.patch | 66 + package/iptables/Makefile | 249 + package/iptables/files/firewall.awk | 64 + package/iptables/files/firewall.config | 48 + package/iptables/files/firewall.init | 115 + package/iptables/files/firewall.user | 28 + package/iptables/files/l7/aim.pat | 27 + package/iptables/files/l7/bittorrent.pat | 14 + package/iptables/files/l7/edonkey-dl.pat | 8 + package/iptables/files/l7/edonkey.pat | 29 + package/iptables/files/l7/fasttrack.pat | 25 + package/iptables/files/l7/ftp.pat | 34 + package/iptables/files/l7/gnutella.pat | 36 + package/iptables/files/l7/http.pat | 28 + package/iptables/files/l7/ident.pat | 14 + package/iptables/files/l7/irc.pat | 20 + package/iptables/files/l7/jabber.pat | 24 + package/iptables/files/l7/msnmessenger.pat | 15 + package/iptables/files/l7/ntp.pat | 17 + package/iptables/files/l7/pop3.pat | 50 + package/iptables/files/l7/smtp.pat | 39 + package/iptables/files/l7/ssl.pat | 15 + package/iptables/files/l7/vnc.pat | 23 + .../iptables/patches/01-ipp2p-0.8.1rc1.patch | 454 + .../iptables/patches/02-layer7-1.5nbd.patch | 416 + .../iptables/patches/04-multiport_v1.patch | 221 + package/iptables/patches/05-imq1.patch | 224 + package/isakmpd/Makefile | 51 + package/isakmpd/patches/010-debian_3.patch | 1706 + package/isakmpd/patches/020-standardize.patch | 59 + .../isakmpd/patches/030-openssl_hashes.patch | 154 + .../isakmpd/patches/040-security_fix.patch | 22 + package/kernel/Makefile | 90 + package/kernel/modules.mk | 506 + package/keynote/Makefile | 68 + package/keynote/patches/01-build.patch | 327 + .../keynote/patches/02-cross_compile.patch | 586 + package/libpcap/Makefile | 97 + package/libpcap/patches/100-shared-lib.patch | 120 + .../patches/101-cross-compile-fix.patch | 12 + package/libpcap/patches/102-alt-ether.patch | 40 + .../libpcap/patches/103-flex_workaround.patch | 14 + package/linux-atm/Makefile | 88 + package/linux-atm/files/br2684.hotplug | 19 + package/linux-atm/patches/000-debian_16.patch | 35073 ++++++++++++++++ package/linux-atm/patches/100-br2684.patch | 488 + package/linux-atm/patches/200-no_libfl.patch | 193 + .../linux-atm/patches/300-no_autotools.patch | 12014 ++++++ .../400-stdint_local_instead_of_host.patch | 12 + package/madwifi/Makefile | 133 + package/madwifi/files/madwifi.init | 4 + package/madwifi/files/madwifi.modules | 10 + .../madwifi/patches/100-kernel_cflags.patch | 42 + package/madwifi/patches/101-no_werror.patch | 11 + .../patches/102-multicall_binary.patch | 369 + .../madwifi/patches/103-disable_rfkill.patch | 12 + .../patches/104-apmode_by_default.patch | 12 + package/mini_fo/Makefile | 50 + package/mini_fo/patches/101-kmod_build.patch | 52 + .../mini_fo/patches/102-mutex_change.patch | 602 + .../patches/103-remove_dead_code.patch | 47 + package/mtd/Makefile | 38 + package/mtd/src/Makefile | 12 + package/mtd/src/mtd.c | 475 + package/nvram/Makefile | 49 + package/nvram/src/Makefile | 21 + package/nvram/src/bcmtimer.h | 42 + package/nvram/src/defaults.c | 179 + package/nvram/src/include/bcmnvram.h | 148 + package/nvram/src/include/bcmutils.h | 157 + package/nvram/src/include/cy_conf.h | 69 + package/nvram/src/include/epivers.h | 69 + package/nvram/src/include/proto/802.11.h | 852 + package/nvram/src/include/proto/ethernet.h | 179 + package/nvram/src/include/shutils.h | 200 + package/nvram/src/include/typedefs.h | 293 + package/nvram/src/include/utils.h | 131 + package/nvram/src/include/wlcompat.h | 36 + package/nvram/src/include/wlioctl.h | 1097 + package/nvram/src/include/wlutils.h | 59 + package/nvram/src/linux_timer.c | 738 + package/nvram/src/main.c | 88 + package/nvram/src/nvram_convert.c | 77 + package/nvram/src/nvram_convert.h | 7 + package/nvram/src/nvram_linux.c | 320 + package/nvram/src/shutils.c | 329 + package/nvram/src/wl.c | 299 + package/nvram/src/wl_linux.c | 77 + package/openssl/Makefile | 134 + .../patches/110-optimize-for-size.patch | 12 + package/openssl/patches/120-makedepend.patch | 28 + package/openssl/patches/130-perl-path.patch | 72 + .../openssl/patches/140-makefile-dirs.patch | 11 + package/openssl/patches/150-no_engines.patch | 83 + .../patches/160-disable_doc_tests.patch | 60 + package/openswan/Makefile | 94 + .../openswan/patches/100-pluto_includes.patch | 12 + package/openswan/patches/110-scripts.patch | 243 + .../patches/120-use_dev_urandom.patch | 36 + package/pcmcia-cs/Makefile | 68 + .../001-config-novatel_merlin_u630.patch | 14 + package/ppp/Makefile | 182 + package/ppp/files/etc/ppp/chap-secrets | 1 + package/ppp/files/etc/ppp/filter | 23 + package/ppp/files/etc/ppp/ip-down | 9 + package/ppp/files/etc/ppp/ip-up | 9 + package/ppp/files/etc/ppp/options | 6 + package/ppp/files/etc/ppp/radius.conf | 8 + package/ppp/files/etc/ppp/radius/dictionary | 253 + .../ppp/files/etc/ppp/radius/dictionary.asnet | 3 + .../files/etc/ppp/radius/dictionary.microsoft | 81 + package/ppp/files/etc/ppp/radius/servers | 2 + package/ppp/files/ppp.sh | 29 + package/ppp/files/pppoa.sh | 20 + package/ppp/files/pppoe.sh | 21 + .../010-use_target_for_configure.patch | 20 + .../patches/100-debian_close_dev_ppp.patch | 34 + .../ppp/patches/101-debian_ip-up_option.patch | 88 + .../102-debian_pppoe_multicast_pado.patch | 14 + .../patches/103-debian_pppoe_cleanup.patch | 1079 + .../patches/104-debian_fix_linkpidfile.patch | 43 + .../patches/105-debian_pppoatm_cleanup.patch | 95 + .../patches/106-debian_pppoatm_fix_mtu.patch | 31 + .../patches/107-debian_stripMSdomain.patch | 35 + .../ppp/patches/108-debian_defaultroute.patch | 253 + package/ppp/patches/109-debian_demand.patch | 172 + package/ppp/patches/200-makefile.patch | 53 + package/ppp/patches/201-mppe_mppc_1.1.patch | 1585 + package/ppp/patches/202-atm_fix.patch | 11 + package/ppp/patches/203-no_strip.patch | 86 + package/ppp/patches/204-opt_flags.patch | 26 + .../ppp/patches/205-pppoe_iface_name.patch | 12 + package/ppp/patches/206-radius_config.patch | 74 + package/ppp/patches/207-ppp_reconnect.patch | 129 + .../patches/208-no_exponential_timeout.patch | 28 + .../patches/209-compensate_time_change.patch | 82 + package/ppp/patches/210-lcp_mtu_max.patch | 17 + .../300-filter-pcap-includes-lib.patch | 14 + .../ppp/patches/310-precompiled_filter.patch | 231 + package/ppp/utils/pfc.c | 51 + package/pptp/Makefile | 42 + package/pptp/files/options.pptp | 7 + package/pptp/files/pptp.sh | 23 + package/qos-scripts/Makefile | 44 + package/qos-scripts/files/etc/config/qos | 94 + .../files/etc/hotplug.d/iface/10-qos | 2 + package/qos-scripts/files/etc/init.d/S50qos | 18 + package/qos-scripts/files/usr/bin/qos-start | 4 + package/qos-scripts/files/usr/bin/qos-stat | 16 + package/qos-scripts/files/usr/bin/qos-stop | 6 + package/qos-scripts/files/usr/lib/qos.sh | 495 + package/robocfg/Makefile | 38 + package/robocfg/src/Makefile | 12 + package/robocfg/src/etc53xx.h | 620 + package/robocfg/src/robocfg.c | 533 + package/shfs/Makefile | 93 + package/shfs/patches/101-kmod_build.patch | 98 + package/shfs/patches/102-gcc4_fix.patch | 23 + package/shfs/patches/103-dentry.patch | 21 + package/spca5xx/Makefile | 52 + package/spca5xx/patches/01-kmod-build.patch | 177 + package/spca5xx/patches/02-seq_bug.patch | 14 + package/switch/Makefile | 54 + package/switch/files/switch.sh | 33 + package/switch/src/Makefile | 19 + package/switch/src/etc53xx.h | 620 + package/switch/src/gpio.h | 52 + package/switch/src/switch-adm.c | 579 + package/switch/src/switch-core.c | 466 + package/switch/src/switch-core.h | 59 + package/switch/src/switch-robo.c | 484 + package/udev/Makefile | 69 + package/udev/patches/01-no_debug.patch | 21 + package/ueagle-atm/Makefile | 55 + package/ueagle-atm/files/ueagle-atm.modules | 2 + .../ueagle-atm/patches/100-compile_fix.patch | 11 + package/util-linux/Makefile | 93 + package/util-linux/patches/501-mconfig.patch | 68 + ...1-util-linux-2.12r-umount-no-special.patch | 11 + package/wireless-tools/Makefile | 70 + package/wireless-tools/patches/debian-2.patch | 35 + package/wlcompat/Makefile | 77 + package/wlcompat/src/Makefile | 19 + package/wlcompat/src/include/bcmnvram.h | 148 + package/wlcompat/src/include/bcmutils.h | 157 + package/wlcompat/src/include/cy_conf.h | 69 + package/wlcompat/src/include/epivers.h | 69 + package/wlcompat/src/include/proto/802.11.h | 852 + package/wlcompat/src/include/proto/ethernet.h | 179 + package/wlcompat/src/include/shutils.h | 200 + package/wlcompat/src/include/typedefs.h | 293 + package/wlcompat/src/include/utils.h | 131 + package/wlcompat/src/include/wlcompat.h | 36 + package/wlcompat/src/include/wlioctl.h | 1094 + package/wlcompat/src/include/wlutils.h | 59 + package/wlcompat/src/wlcompat.c | 1056 + package/yamonenv/Makefile | 40 + package/zd1211/Makefile | 63 + package/zlib/Makefile | 73 + package/zlib/patches/zlib.patch | 206 + rules.mk | 117 + scripts/adam2flash.pl | 174 + scripts/config.guess | 1465 + scripts/config/Makefile | 55 + scripts/config/README | 2 + scripts/config/conf.c | 626 + scripts/config/confdata.c | 553 + scripts/config/expr.c | 1099 + scripts/config/expr.h | 194 + scripts/config/kconfig_load.c | 35 + scripts/config/lex.backup | 1 + scripts/config/lex.zconf.c_shipped | 2338 + scripts/config/lkc.h | 147 + scripts/config/lkc_proto.h | 42 + scripts/config/lxdialog/BIG.FAT.WARNING | 4 + scripts/config/lxdialog/Makefile | 20 + scripts/config/lxdialog/check-lxdialog.sh | 90 + scripts/config/lxdialog/checklist.c | 334 + scripts/config/lxdialog/colors.h | 154 + scripts/config/lxdialog/dialog.h | 177 + scripts/config/lxdialog/inputbox.c | 224 + scripts/config/lxdialog/lxdialog.c | 204 + scripts/config/lxdialog/menubox.c | 425 + scripts/config/lxdialog/msgbox.c | 71 + scripts/config/lxdialog/textbox.c | 533 + scripts/config/lxdialog/util.c | 362 + scripts/config/lxdialog/yesno.c | 102 + scripts/config/mconf.c | 1102 + scripts/config/menu.c | 400 + scripts/config/symbol.c | 891 + scripts/config/util.c | 109 + scripts/config/zconf.gperf | 43 + scripts/config/zconf.hash.c_shipped | 231 + scripts/config/zconf.l | 371 + scripts/config/zconf.tab.c_shipped | 2146 + scripts/config/zconf.y | 681 + scripts/configtest.pl | 35 + scripts/download.pl | 112 + scripts/flash.sh | 66 + scripts/gen_busybox_config.pl | 29 + scripts/gen_busybox_menuconfig.pl | 76 + scripts/gen_deps.pl | 91 + scripts/gen_menuconfig.pl | 133 + scripts/ipkg | 1187 + scripts/ipkg-make-index.sh | 24 + scripts/make-ipkg-dir.sh | 21 + scripts/patch-kernel.sh | 54 + scripts/rstrip.sh | 35 + scripts/timestamp.pl | 64 + target/Config.in | 272 + target/Makefile | 49 + target/image/ar7/Makefile | 102 + target/image/ar7/sercomm/adam2.bin | Bin 0 -> 131072 bytes target/image/ar7/sercomm/dg834 | Bin 0 -> 80 bytes target/image/ar7/sercomm/jdr454wb | Bin 0 -> 80 bytes target/image/ar7/src/LzmaDecode.c | 663 + target/image/ar7/src/LzmaDecode.h | 100 + target/image/ar7/src/gzip.h | 51 + target/image/ar7/src/ld.script.in | 34 + target/image/ar7/src/loader.c | 140 + target/image/ar7/src/srec2bin.c | 523 + target/image/ar7/src/zimage.script.in | 11 + target/image/aruba/Makefile | 43 + target/image/aruba/addVersion | Bin 0 -> 34464 bytes target/image/aruba/version | 1 + target/image/au1000/Makefile | 22 + target/image/brcm/Makefile | 69 + target/image/brcm/lzma-loader/Makefile | 34 + .../image/brcm/lzma-loader/src/LzmaDecode.c | 663 + .../image/brcm/lzma-loader/src/LzmaDecode.h | 100 + target/image/brcm/lzma-loader/src/Makefile | 77 + target/image/brcm/lzma-loader/src/README | 55 + .../image/brcm/lzma-loader/src/decompress.c | 175 + .../brcm/lzma-loader/src/decompress.lds.in | 20 + target/image/brcm/lzma-loader/src/head.S | 155 + .../image/brcm/lzma-loader/src/loader.lds.in | 17 + target/image/brcm63xx/Makefile | 33 + target/image/generic/Makefile | 12 + target/image/generic/lzma-loader/Makefile | 43 + .../generic/lzma-loader/src/LzmaDecode.c | 590 + .../generic/lzma-loader/src/LzmaDecode.h | 131 + target/image/generic/lzma-loader/src/Makefile | 63 + .../generic/lzma-loader/src/decompress.c | 154 + .../generic/lzma-loader/src/lzma-copy.lds.in | 20 + .../image/generic/lzma-loader/src/lzma.lds.in | 24 + target/image/generic/lzma-loader/src/print.c | 324 + target/image/generic/lzma-loader/src/print.h | 36 + target/image/generic/lzma-loader/src/printf.c | 35 + target/image/generic/lzma-loader/src/printf.h | 18 + target/image/generic/lzma-loader/src/start.S | 160 + .../image/generic/lzma-loader/src/uart16550.c | 86 + .../image/generic/lzma-loader/src/uart16550.h | 47 + target/image/magicbox/Makefile | 38 + target/image/rb532/Makefile | 57 + target/image/uml/Makefile | 15 + target/image/x86/Config.in | 20 + target/image/x86/Makefile | 54 + target/image/x86/gen_image.sh | 60 + target/image/x86/grub/Makefile | 58 + target/image/x86/grub/menu.lst | 11 + target/image/xscale/Makefile | 32 + target/linux/Config.in | 492 + target/linux/Makefile | 24 + target/linux/ar531x-2.4/Makefile | 22 + target/linux/ar531x-2.4/config | 1164 + .../patches/000-atheros-support.patch | 11411 +++++ target/linux/ar7-2.4/Config.in | 29 + target/linux/ar7-2.4/Makefile | 72 + target/linux/ar7-2.4/config | 1080 + .../ar7-2.4/patches/000-ar7_support.patch | 9549 +++++ .../linux/ar7-2.4/patches/001-flash_map.patch | 307 + .../ar7-2.4/patches/002-led_driver.patch | 1915 + .../patches/003-net_driver_cpmac.patch | 13341 ++++++ .../ar7-2.4/patches/004-atm_driver.patch | 27232 ++++++++++++ .../ar7-2.4/patches/005-wdt_driver.patch | 392 + .../ar7-2.4/patches/006-sched_use_tsc.patch | 84 + target/linux/aruba-2.6/Makefile | 22 + target/linux/aruba-2.6/config | 1539 + .../linux/aruba-2.6/patches/000-aruba.patch | 10521 +++++ .../linux/aruba-2.6/patches/001-flash.patch | 159 + target/linux/aruba-2.6/patches/002-irq.patch | 286 + target/linux/aruba-2.6/patches/003-pci.patch | 618 + target/linux/aruba-2.6/patches/004-wdt.patch | 126 + .../aruba-2.6/patches/010-ar2313_enet.patch | 2175 + .../patches/011-ap6x_serial_fix.patch | 31 + .../aruba-2.6/patches/012-ehci_softirq.patch | 70 + target/linux/au1000-2.6/Makefile | 27 + target/linux/au1000-2.6/config | 1595 + .../patches/001-redefinitions_fixes.patch | 26 + .../patches/002-mtx1_flash_map.patch | 16 + .../linux/au1000-2.6/patches/003-zImage.patch | 1364 + .../patches/004-mtx1_watchdog.patch | 279 + .../patches/005-au1000_eth_link_beat.patch | 24 + .../patches/006-mtx1_system_button.patch | 241 + .../au1000-2.6/patches/007-mtx1_sio2.patch | 13 + .../patches/008-isdel_cardbus.patch | 63 + target/linux/brcm-2.4/Makefile | 22 + target/linux/brcm-2.4/config | 1385 + .../linux/brcm-2.4/patches/001-bcm47xx.patch | 16794 ++++++++ .../linux/brcm-2.4/patches/002-wl_fix.patch | 348 + .../patches/003-bcm47xx_cache_fixes.patch | 498 + target/linux/brcm-2.4/patches/004-flash.patch | 916 + .../005-bluetooth_sco_buffer_align.patch | 12 + .../brcm-2.4/patches/006-ide_workaround.patch | 18 + .../brcm-2.4/patches/007-sched_use_tsc.patch | 84 + .../patches/008-b44_bcm47xx_support.patch | 585 + .../patches/009-wrt54g3g_pcmcia.patch | 119 + .../patches/010-bcm47xx-cam_absent.patch | 42 + target/linux/brcm-2.6/Makefile | 23 + target/linux/brcm-2.6/config | 1740 + .../linux/brcm-2.6/patches/001-bcm947xx.patch | 11862 ++++++ .../brcm-2.6/patches/002-flash-map.patch | 483 + .../patches/003-bcm4710_cache_fixes.patch | 354 + .../patches/004-b44_bcm47xx_support.patch | 699 + .../patches/010-bcm47xx-cam_absent.patch | 42 + target/linux/brcm63xx-2.6/Makefile | 23 + target/linux/brcm63xx-2.6/config | 1629 + .../brcm63xx-2.6/patches/001-bcm963xx.patch | 9656 +++++ .../patches/040-bcm963xx_flashmap.patch | 213 + .../patches/100-binary_hacks.patch | 267 + target/linux/control/kernel.control | 4 + target/linux/control/kmod-atm.control | 4 + target/linux/control/kmod-ax25.control | 4 + target/linux/control/kmod-bluetooth.control | 4 + target/linux/control/kmod-brcm-et.control | 4 + target/linux/control/kmod-brcm-wl.control | 4 + target/linux/control/kmod-brcm-wl2.control | 5 + target/linux/control/kmod-cpmac.control | 4 + target/linux/control/kmod-fs-cifs.control | 4 + target/linux/control/kmod-fs-ext2.control | 4 + target/linux/control/kmod-fs-ext3.control | 4 + target/linux/control/kmod-fs-hfsplus.control | 4 + target/linux/control/kmod-fs-minix.control | 4 + target/linux/control/kmod-fs-nfs.control | 4 + target/linux/control/kmod-fs-vfat.control | 4 + target/linux/control/kmod-fs-xfs.control | 4 + target/linux/control/kmod-imq.control | 4 + .../linux/control/kmod-iptables-extra.control | 4 + target/linux/control/kmod-iptables.control | 4 + target/linux/control/kmod-loop.control | 4 + target/linux/control/kmod-lp.control | 4 + target/linux/control/kmod-nbd.control | 4 + target/linux/control/kmod-net-airo.control | 4 + .../linux/control/kmod-net-hermes-pci.control | 4 + .../linux/control/kmod-net-hermes-plx.control | 4 + target/linux/control/kmod-net-hermes.control | 4 + target/linux/control/kmod-net-prism54.control | 4 + target/linux/control/kmod-nls-base.control | 4 + target/linux/control/kmod-nls-cp437.control | 4 + target/linux/control/kmod-nls-cp850.control | 4 + .../linux/control/kmod-nls-iso8859-1.control | 4 + .../linux/control/kmod-nls-iso8859-15.control | 4 + target/linux/control/kmod-nls-utf8.control | 4 + target/linux/control/kmod-pcmcia-core.control | 4 + .../linux/control/kmod-pcmcia-serial.control | 4 + target/linux/control/kmod-pwc.control | 4 + .../control/kmod-sangam-atm-annex-a.control | 4 + .../control/kmod-sangam-atm-annex-b.control | 4 + target/linux/control/kmod-softdog.control | 4 + target/linux/control/kmod-soundcore.control | 4 + target/linux/control/kmod-usb-acm.control | 4 + .../control/kmod-usb-atm-speedtouch.control | 4 + target/linux/control/kmod-usb-atm.control | 5 + target/linux/control/kmod-usb-audio.control | 5 + target/linux/control/kmod-usb-core.control | 4 + target/linux/control/kmod-usb-ohci.control | 4 + target/linux/control/kmod-usb-printer.control | 4 + .../control/kmod-usb-serial-belkin.control | 4 + .../control/kmod-usb-serial-ftdi.control | 4 + .../control/kmod-usb-serial-mct-u232.control | 4 + .../control/kmod-usb-serial-pl2303.control | 4 + .../control/kmod-usb-serial-visor.control | 4 + target/linux/control/kmod-usb-serial.control | 4 + target/linux/control/kmod-usb-storage.control | 4 + target/linux/control/kmod-usb-uhci.control | 4 + target/linux/control/kmod-usb2.control | 4 + target/linux/control/kmod-videodev.control | 4 + target/linux/control/kmod-wd1100.control | 4 + target/linux/generic-2.4/README | 98 + .../generic-2.4/patches/000-linux_mips.patch | 27959 ++++++++++++ .../generic-2.4/patches/001-squashfs.patch | 4070 ++ .../patches/002-squashfs_lzma.patch | 883 + .../patches/003-jffs2_compression.patch | 9119 ++++ .../patches/004-exec_pagesize.patch | 11 + .../patches/005-mtd_flashtypes.patch | 925 + .../generic-2.4/patches/006-gcc4_fixes.patch | 522 + .../patches/007-more_gcc4_fixes.patch | 1339 + .../patches/008-intel_flashchip_fix.patch | 101 + .../patches/009-calibrate_section.patch | 11 + ...0-disable_old_squashfs_compatibility.patch | 25 + .../generic-2.4/patches/050-build_flags.patch | 83 + .../051-remove_pcmcia_modinst_compat.patch | 21 + .../patches/100-wireless-extension.patch | 1121 + .../generic-2.4/patches/106-mppe_mppc.patch | 1649 + .../linux/generic-2.4/patches/107-cifs.patch | 22022 ++++++++++ .../patches/108-optional_aout_support.patch | 688 + .../patches/109-ipsec_nat_traversal.patch | 140 + .../patches/110-netdev_random_core.patch | 296 + .../patches/112-bridging_performance.patch | 22 + .../patches/113-even_more_gcc4_stuff.patch | 367 + .../linux/generic-2.4/patches/200-i4l.patch | 20247 +++++++++ .../patches/201-hfc_usb_backport.patch | 2663 ++ .../patches/202-pl2303_backport.patch | 40 + .../generic-2.4/patches/203-hfsplus_fix.patch | 23 + .../patches/206-gcc_3.4_fixes.patch | 225 + .../generic-2.4/patches/208-usb2_fix.patch | 15 + .../generic-2.4/patches/209-build_fixes.patch | 48 + .../patches/210-fix-irq-serial.patch | 21 + .../patches/212-htb_time_fix.patch | 75 + .../patches/213-htb_disable_hysteresis.patch | 11 + .../linux/generic-2.4/patches/222-sound.patch | 27 + .../generic-2.4/patches/224-atm_hotplug.patch | 98 + .../225-string_lib_useful_exports.patch | 170 + .../generic-2.4/patches/226-atm_br2684.patch | 578 + .../patches/227-jffs2_eofdetect.patch | 97 + .../patches/228-more_usb_fixes.patch | 861 + .../patches/229-pppoe_mtu_fix.patch | 12 + .../601-netfilter_ipp2p_0.8.1rc1.patch | 929 + .../patches/602-netfilter_layer7_2.1nbd.patch | 2083 + .../patches/603-netfilter_nat_pptp.patch | 2412 ++ .../patches/604-netfilter_maxconn.patch | 20 + .../patches/605-netfilter_TTL.patch | 180 + .../patches/606-netfilter_NETMAP.patch | 159 + .../patches/607-netfilter_connmark.patch | 351 + .../patches/608-netfilter_ipset.patch | 5725 +++ .../patches/609-netfilter_string.patch | 348 + .../patches/610-netfilter_connbytes.patch | 439 + .../patches/611-netfilter_condition.patch | 625 + .../patches/612-netfilter_quota.patch | 147 + .../patches/613-netfilter_nat_h323.patch | 821 + .../patches/614-netfilter_nat_rtsp.patch | 1523 + .../patches/615-netfilter_nat_mms.patch | 739 + .../patches/616-netfilter_imq.patch | 748 + .../patches/617-netfilter_time.patch | 238 + .../618-netfilter_multiport_backport.patch | 231 + .../700-multiple_default_gateways.patch | 1299 + target/linux/generic-2.6/files/init | 82 + .../patches/000-reenable_devfs.patch | 718 + .../generic-2.6/patches/001-squashfs.patch | 4173 ++ .../patches/002-squashfs_lzma.patch | 886 + .../patches/004-extra_optimization.patch | 12 + .../generic-2.6/patches/005-gcc4_fix.patch | 221 + .../patches/006-gcc4_inline_fix.patch | 11 + ...0-disable_old_squashfs_compatibility.patch | 22 + .../generic-2.6/patches/011-mips_boot.patch | 15 + .../patches/100-netfilter_layer7_2.1nbd.patch | 2071 + .../patches/101-ipp2p_0.8.1rc1.patch | 935 + .../102-openswan-2.4.0.kernel-2.6-natt.patch | 171 + .../patches/103-netfilter-ipset.patch | 5739 +++ .../patches/105-netfilter_time.patch | 241 + .../patches/106-netfilter_imq.patch | 885 + .../patches/107-netfilter_nat_sip.patch | 830 + .../patches/108-netfilter_route.patch | 914 + .../generic-2.6/patches/200-sched_esfq.patch | 730 + .../201-multiple_default_gateways.patch | 1238 + .../patches/202-mips-freestanding.patch | 12 + .../patches/203-fix_initrd_duplication.patch | 13 + .../patches/204-jffs2_eofdetect.patch | 58 + .../patches/205-block2mtd_fix.patch | 235 + .../patches/206-pppoe_mtu_fix.patch | 12 + target/linux/magicbox-2.6/Makefile | 22 + target/linux/magicbox-2.6/config | 1161 + .../patches/001-magicbox_support.patch | 372 + .../magicbox-2.6/patches/002-flash_map.patch | 147 + target/linux/package/Config.in | 1 + target/linux/package/Makefile | 54 + target/linux/rb532-2.6/Makefile | 22 + target/linux/rb532-2.6/config | 1335 + .../rb532-2.6/patches/100-rb5xx_support.patch | 5606 +++ .../patches/110-korina_ethernet.patch | 1375 + target/linux/rb532-2.6/patches/120-cf.patch | 990 + .../patches/130-custom_partitions.patch | 311 + .../patches/200-bridge_resource_hack.patch | 13 + .../rb532-2.6/patches/210-pci_fixes.patch | 46 + .../rb532-2.6/patches/220-serial_fix.patch | 18 + .../rb532-2.6/patches/230-dma_limit.patch | 13 + .../patches/240-via_rhine_performance.patch | 461 + target/linux/sibyte-2.6/Makefile | 22 + target/linux/sibyte-2.6/config | 1313 + .../linux/sibyte-2.6/patches/000-DUART.patch | 957 + .../sibyte-2.6/patches/001-bcm112x_ax.patch | 17 + target/linux/uml-2.6/Makefile | 21 + target/linux/uml-2.6/README | 45 + target/linux/uml-2.6/config | 904 + target/linux/x86-2.6/Makefile | 21 + target/linux/x86-2.6/config | 2077 + .../x86-2.6/patches/100-scx200_hr_timer.patch | 320 + target/linux/xscale-2.6/Makefile | 21 + target/linux/xscale-2.6/config | 1384 + .../xscale-2.6/patches/001-gateway_7001.patch | 163 + target/sdk/Config.in | 9 + target/sdk/Makefile | 47 + target/sdk/files/Makefile | 69 + target/sdk/files/README.SDK | 7 + target/sdk/files/package/depend.mk | 6 + target/sdk/files/package/rules.mk | 89 + target/utils/Makefile | 32 + target/utils/src/addpattern.c | 235 + target/utils/src/dgfirmware.c | 376 + target/utils/src/motorola-bin.c | 146 + target/utils/src/trx.c | 366 + toolchain/Config.in | 54 + toolchain/Makefile | 72 + toolchain/binutils/Config.in | 24 + toolchain/binutils/Makefile | 54 + .../patches/2.16.1/100-uclibc-conf.patch | 586 + .../2.16.1/110-uclibc-libtool-conf.patch | 218 + .../2.16.1/300-001_ld_makefile_patch.patch | 52 + .../2.16.1/300-006_better_file_error.patch | 43 + .../300-012_check_ldrunpath_length.patch | 47 + .../2.16.1/702-binutils-skip-comments.patch | 93 + .../patches/2.17/100-uclibc-conf.patch | 139 + .../patches/2.17/110-arm-eabi-conf.patch | 24 + .../2.17/300-001_ld_makefile_patch.patch | 50 + .../2.17/300-006_better_file_error.patch | 43 + .../2.17/300-012_check_ldrunpath_length.patch | 47 + .../2.17/702-binutils-skip-comments.patch | 93 + .../patches/400-mips-ELF_MAXPAGESIZE-4k.patch | 12 + toolchain/gcc/Config.in | 51 + toolchain/gcc/Config.version | 20 + toolchain/gcc/Makefile | 143 + .../gcc/patches/3.4.4/100-uclibc-conf.patch | 442 + .../gcc/patches/3.4.4/200-uclibc-locale.patch | 3246 ++ .../gcc/patches/3.4.4/300-libstdc++-pic.patch | 47 + .../gcc/patches/3.4.4/601-gcc34-arm-ldm.patch | 119 + .../3.4.4/602-sdk-libstdc++-includes.patch | 22 + .../gcc/patches/3.4.4/700-pr15068-fix.patch | 44 + .../gcc/patches/3.4.4/800-arm-bigendian.patch | 70 + .../3.4.4/810-arm-bigendian-uclibc.patch | 27 + .../patches/3.4.4/830-gcc-bug-num-22167.patch | 16 + .../3.4.4/arm-softfloat.patch.conditional | 270 + .../gcc/patches/3.4.5/100-uclibc-conf.patch | 462 + .../gcc/patches/3.4.5/200-uclibc-locale.patch | 3255 ++ .../gcc/patches/3.4.5/300-libstdc++-pic.patch | 47 + .../3.4.5/600-gcc34-arm-ldm-peephole.patch | 65 + .../3.4.5/601-gcc34-arm-ldm-peephole2.patch | 42 + .../gcc/patches/3.4.5/601-gcc34-arm-ldm.patch | 119 + .../3.4.5/602-sdk-libstdc++-includes.patch | 22 + .../gcc/patches/3.4.5/700-pr15068-fix.patch | 44 + .../patches/3.4.5/71_all_sh-pr16665-fix.patch | 43 + .../3.4.5/72_all_sh-no-reorder-blocks.patch | 13 + .../gcc/patches/3.4.5/73_all_sh-pr20617.patch | 28 + .../gcc/patches/3.4.5/800-arm-bigendian.patch | 70 + .../800-powerpc-libc_stack_end-uclibc.patch | 15 + .../patches/3.4.6-nonmips/001-non_mips.patch | 85 + .../3.4.6-nonmips/100-uclibc-conf.patch | 442 + .../3.4.6-nonmips/200-uclibc-locale.patch | 3246 ++ .../3.4.6-nonmips/300-libstdc++-pic.patch | 47 + .../3.4.6-nonmips/601-gcc34-arm-ldm.patch | 119 + .../602-sdk-libstdc++-includes.patch | 22 + .../3.4.6-nonmips/700-pr15068-fix.patch | 44 + .../3.4.6-nonmips/800-arm-bigendian.patch | 70 + .../810-arm-bigendian-uclibc.patch | 27 + .../arm-softfloat.patch.conditional | 270 + .../gcc/patches/3.4.6/100-uclibc-conf.patch | 442 + .../gcc/patches/3.4.6/200-uclibc-locale.patch | 3246 ++ .../gcc/patches/3.4.6/300-libstdc++-pic.patch | 47 + .../gcc/patches/3.4.6/601-gcc34-arm-ldm.patch | 119 + .../3.4.6/602-sdk-libstdc++-includes.patch | 22 + .../gcc/patches/3.4.6/700-pr15068-fix.patch | 44 + .../gcc/patches/3.4.6/800-arm-bigendian.patch | 70 + .../3.4.6/810-arm-bigendian-uclibc.patch | 27 + .../3.4.6/arm-softfloat.patch.conditional | 270 + .../gcc/patches/4.0.2/100-uclibc-conf.patch | 410 + .../gcc/patches/4.0.2/200-uclibc-locale.patch | 3191 ++ .../gcc/patches/4.0.3/100-uclibc-conf.patch | 553 + .../gcc/patches/4.0.3/200-uclibc-locale.patch | 3237 ++ .../gcc/patches/4.0.3/300-libstdc++-pic.patch | 47 + .../4.0.3/301-missing-execinfo_h.patch | 11 + .../gcc/patches/4.0.3/302-c99-snprintf.patch | 11 + .../4.0.3/303-c99-complex-ugly-hack.patch | 12 + .../4.0.3/602-sdk-libstdc++-includes.patch | 22 + .../gcc/patches/4.0.3/800-arm-bigendian.patch | 67 + .../gcc/patches/4.1.0/100-uclibc-conf.patch | 544 + .../gcc/patches/4.1.0/110-arm-eabi.patch | 27 + .../gcc/patches/4.1.0/200-uclibc-locale.patch | 3246 ++ .../gcc/patches/4.1.0/300-libstdc++-pic.patch | 46 + .../4.1.0/301-missing-execinfo_h.patch | 11 + .../gcc/patches/4.1.0/302-c99-snprintf.patch | 11 + .../4.1.0/303-c99-complex-ugly-hack.patch | 12 + .../4.1.0/602-sdk-libstdc++-includes.patch | 20 + .../gcc/patches/4.1.0/740-sh-pr24836.patch | 25 + .../gcc/patches/4.1.0/800-arm-bigendian.patch | 67 + .../gcc/patches/4.1.1/100-uclibc-conf.patch | 544 + .../gcc/patches/4.1.1/110-arm-eabi.patch | 27 + .../gcc/patches/4.1.1/200-uclibc-locale.patch | 3239 ++ .../gcc/patches/4.1.1/300-libstdc++-pic.patch | 50 + .../4.1.1/301-missing-execinfo_h.patch | 11 + .../gcc/patches/4.1.1/302-c99-snprintf.patch | 11 + .../4.1.1/303-c99-complex-ugly-hack.patch | 12 + .../gcc/patches/4.1.1/304-index_macro.patch | 24 + .../gcc/patches/4.1.1/740-sh-pr24836.patch | 25 + .../gcc/patches/4.1.1/800-arm-bigendian.patch | 67 + .../gcc/patches/4.1.1/900-c++_fixes.patch | 37 + toolchain/gdb/Config.in | 8 + toolchain/gdb/Makefile | 55 + toolchain/gdb/patches/100-uclibc-conf.patch | 280 + .../patches/200-uclibc-readline-conf.patch | 15 + toolchain/gdb/patches/400-mips-coredump.patch | 28 + .../gdb/patches/500-thread-timeout.patch | 34 + .../600-debian_10.selected-frame.patch | 552 + .../patches/620-debian_static-thread-db.patch | 156 + .../630-debian_24.tracepoint-segv.patch | 15 + ...-debian_dwarf2-frame-signal-unwinder.patch | 120 + .../650-debian_vsyscall-gdb-support.patch | 245 + .../660-debian_dwarf-cfa-restore.patch | 23 + .../gdb/patches/680-debian_sim-destdir.patch | 53 + .../690-debian_member-field-symtab.patch | 35 + .../700-debian_cp-pass-by-reference.patch | 464 + ...-debian_thread-db-multiple-libraries.patch | 593 + .../720-debian_static-threads-test.patch | 36 + .../730-debian_gdb-fix-tracefork-check.patch | 225 + .../740-debian_make-cv-type-crash.patch | 132 + .../patches/750-debian_sparc-singlestep.patch | 37 + ...760-debian_vsyscall-bfd-close-result.patch | 20 + .../770-debian_vfork-done-spelling.patch | 31 + .../780-debian_gdbserver-rdynamic.patch | 675 + .../790-debian_dwarf2-cfi-warning.patch | 39 + ...800-debian_linux-use-underscore-exit.patch | 22 + .../810-debian_bfd-no-kylix-crash.patch | 47 + ...0-debian_disable-linux-fork-messages.patch | 46 + toolchain/kernel-headers/Makefile | 63 + toolchain/kernel-headers/files/config.arm | 778 + toolchain/kernel-headers/files/config.i386 | 950 + toolchain/kernel-headers/files/config.mips | 1045 + toolchain/kernel-headers/files/config.ppc | 341 + .../kernel-headers/patches/include.patch | 17954 ++++++++ toolchain/libnotimpl/Makefile | 39 + toolchain/libnotimpl/src/math.c | 68 + toolchain/uClibc/Makefile | 98 + toolchain/uClibc/config/armeb | 168 + toolchain/uClibc/config/i386 | 185 + toolchain/uClibc/config/mips | 170 + toolchain/uClibc/config/mipsel | 170 + toolchain/uClibc/config/powerpc | 168 + .../100-signal_handler_crash_workaround.patch | 13 + toolchain/uClibc/patches/110-mips_pipe.patch | 27 + .../patches/120-more_standard_math.patch | 12 + .../uClibc/patches/130-ppc_gcc4_fix.patch | 223 + .../patches/140-ipv6_missing_sockopts.patch | 12 + .../uClibc/patches/150-portability.patch | 38 + tools/Makefile | 60 + tools/ext2fs/Makefile | 59 + tools/include/byteswap.h | 3 + tools/include/endian.h | 34 + tools/include/getline.h | 62 + tools/ipkg-utils/Makefile | 37 + .../ipkg-utils/patches/100-build_clean.patch | 36 + .../ipkg-utils/patches/110-buildpackage.patch | 24 + tools/ipkg-utils/patches/120-build_tar.patch | 16 + .../patches/130-tar_wildcards.patch | 23 + .../ipkg-utils/patches/140-portability.patch | 50 + tools/lzma/Makefile | 44 + tools/lzma/patches/100-lzma_zlib.patch | 408 + tools/mkimage/Makefile | 27 + tools/mkimage/src/crc32.c | 197 + tools/mkimage/src/image.h | 157 + tools/mkimage/src/mkimage.c | 745 + tools/mtd-utils/Makefile | 39 + tools/mtd-utils/patches/100-gcc4_fix.patch | 24 + .../patches/110-portability_fix.patch | 63 + tools/sed/Makefile | 48 + tools/squashfs/Makefile | 34 + tools/squashfs/patches/100-lzma.patch | 25 + tools/sstrip/Makefile | 30 + tools/sstrip/include/elf.h | 2445 ++ tools/sstrip/src/sstrip.c | 492 + 907 files changed, 495477 insertions(+) create mode 100644 BSDmakefile create mode 100644 Config.in create mode 100644 LICENSE create mode 100644 Makefile create mode 100644 README create mode 100644 docs/config.txt create mode 100644 docs/network-scripts.txt create mode 100644 docs/network.txt create mode 100644 include/host-build.mk create mode 100644 include/host.mk create mode 100644 include/image.mk create mode 100644 include/kernel-build.mk create mode 100644 include/kernel.mk create mode 100644 include/modules-2.4.mk create mode 100644 include/modules-2.6.mk create mode 100644 include/netfilter.mk create mode 100644 include/package.mk create mode 100644 include/prereq-build.mk create mode 100644 include/prereq.mk create mode 100644 include/shell.sh create mode 100644 include/target.mk create mode 100644 include/verbose.mk create mode 100644 package/Makefile create mode 100644 package/alsa/Makefile create mode 100644 package/alsa/files/alsa.modules create mode 100644 package/alsa/patches/100-compile_fix.patch create mode 100644 package/arptables/Makefile create mode 100644 package/base-files/Makefile create mode 100755 package/base-files/ar7-2.4/bin/firstboot create mode 100644 package/base-files/ar7-2.4/etc/config/network create mode 100755 package/base-files/ar7-2.4/etc/init.d/S00adam2 create mode 100755 package/base-files/ar7-2.4/etc/preinit create mode 100755 package/base-files/ar7-2.4/sbin/mount_root create mode 100644 package/base-files/aruba-2.6/etc/config/network create mode 100644 package/base-files/au1000-2.6/etc/config/network create mode 100755 package/base-files/au1000-2.6/sbin/mount_root create mode 100755 package/base-files/brcm-2.4/bin/firstboot create mode 100644 package/base-files/brcm-2.4/etc/config/wireless create mode 100755 package/base-files/brcm-2.4/etc/init.d/S05netconfig create mode 100755 package/base-files/brcm-2.4/etc/preinit create mode 100755 package/base-files/brcm-2.4/sbin/mount_root create mode 100755 package/base-files/brcm-2.6/bin/firstboot create mode 100755 package/base-files/brcm-2.6/etc/init.d/S05netconfig create mode 100755 package/base-files/brcm-2.6/etc/preinit create mode 100755 package/base-files/brcm-2.6/sbin/mount_root create mode 100755 package/base-files/default/bin/ipcalc create mode 100755 package/base-files/default/bin/login create mode 100755 package/base-files/default/bin/uci create mode 100644 package/base-files/default/etc/banner create mode 100644 package/base-files/default/etc/config/network create mode 100755 package/base-files/default/etc/functions.sh create mode 100644 package/base-files/default/etc/group create mode 100644 package/base-files/default/etc/hosts create mode 100755 package/base-files/default/etc/hotplug.d/block/01-mount create mode 100644 package/base-files/default/etc/hotplug.d/net/10-net create mode 100755 package/base-files/default/etc/hotplug.d/usb/01-ln create mode 100755 package/base-files/default/etc/init.d/S10boot create mode 100755 package/base-files/default/etc/init.d/S40network create mode 100755 package/base-files/default/etc/init.d/S50httpd create mode 100755 package/base-files/default/etc/init.d/S50telnet create mode 100755 package/base-files/default/etc/init.d/S60cron create mode 100755 package/base-files/default/etc/init.d/rcS create mode 100644 package/base-files/default/etc/inittab create mode 100644 package/base-files/default/etc/ipkg.conf create mode 100644 package/base-files/default/etc/nvram.sh create mode 100644 package/base-files/default/etc/passwd create mode 100644 package/base-files/default/etc/profile create mode 100644 package/base-files/default/etc/protocols create mode 100755 package/base-files/default/etc/rc.common create mode 100644 package/base-files/default/etc/resolv.conf create mode 100644 package/base-files/default/etc/shells create mode 100644 package/base-files/default/etc/sysctl.conf create mode 100644 package/base-files/default/lib/config/uci-update.awk create mode 100755 package/base-files/default/lib/config/uci.sh create mode 100755 package/base-files/default/lib/network/config.sh create mode 100644 package/base-files/default/rom/note create mode 100755 package/base-files/default/sbin/hotplug create mode 100755 package/base-files/default/sbin/ifdown create mode 100755 package/base-files/default/sbin/ifup create mode 100755 package/base-files/default/sbin/mount_root create mode 100755 package/base-files/default/sbin/wifi create mode 100644 package/base-files/default/usr/lib/common.awk create mode 100644 package/base-files/default/usr/lib/parse-config.awk create mode 100755 package/base-files/default/usr/share/udhcpc/default.script create mode 100644 package/base-files/rb532-2.6/etc/config/network create mode 100644 package/base-files/sibyte-2.6/etc/config/network create mode 100644 package/base-files/sibyte-2.6/etc/inittab create mode 100644 package/base-files/src/adam2patcher.c create mode 100644 package/base-files/src/jffs2root.c create mode 100644 package/base-files/x86-2.4/etc/config/network create mode 100644 package/base-files/x86-2.6/etc/config/network create mode 100644 package/base-files/xscale-2.6/etc/config/network create mode 100644 package/bridge/Makefile create mode 100644 package/bridge/patches/patch-libbridge_Makefile_in create mode 100644 package/broadcom-wl/Makefile create mode 100644 package/broadcom-wl/files/lib/wifi/broadcom.sh create mode 100644 package/broadcom-wl/src/kmod/Makefile create mode 100644 package/broadcom-wl/src/kmod/bcmip.h create mode 100644 package/broadcom-wl/src/kmod/bcmutils.c create mode 100644 package/broadcom-wl/src/kmod/hnddma.c create mode 100644 package/broadcom-wl/src/kmod/hnddma.h create mode 100644 package/broadcom-wl/src/kmod/linux_osl.c create mode 100644 package/broadcom-wl/src/kmod/linux_osl.h create mode 100644 package/broadcom-wl/src/kmod/patchtable.pl create mode 100644 package/broadcom-wl/src/kmod/pktq.h create mode 100644 package/broadcom-wl/src/kmod/sbhnddma.h create mode 100644 package/broadcom-wl/src/wlc/Makefile create mode 100644 package/broadcom-wl/src/wlc/include/bcmdefs.h create mode 100644 package/broadcom-wl/src/wlc/include/bcmutils.h create mode 100644 package/broadcom-wl/src/wlc/include/proto/802.11.h create mode 100644 package/broadcom-wl/src/wlc/include/proto/bcmeth.h create mode 100644 package/broadcom-wl/src/wlc/include/proto/bcmevent.h create mode 100644 package/broadcom-wl/src/wlc/include/proto/ethernet.h create mode 100644 package/broadcom-wl/src/wlc/include/proto/wpa.h create mode 100644 package/broadcom-wl/src/wlc/include/typedefs.h create mode 100644 package/broadcom-wl/src/wlc/include/wlioctl.h create mode 100644 package/broadcom-wl/src/wlc/include/wlutils.h create mode 100644 package/broadcom-wl/src/wlc/ioctl.c create mode 100644 package/broadcom-wl/src/wlc/wlc.c create mode 100644 package/busybox/Makefile create mode 100644 package/busybox/config/Config.in create mode 100644 package/busybox/config/archival/Config.in create mode 100644 package/busybox/config/console-tools/Config.in create mode 100644 package/busybox/config/coreutils/Config.in create mode 100644 package/busybox/config/debianutils/Config.in create mode 100644 package/busybox/config/e2fsprogs/Config.in create mode 100644 package/busybox/config/editors/Config.in create mode 100644 package/busybox/config/findutils/Config.in create mode 100644 package/busybox/config/init/Config.in create mode 100644 package/busybox/config/libbb/Config.in create mode 100644 package/busybox/config/loginutils/Config.in create mode 100644 package/busybox/config/miscutils/Config.in create mode 100644 package/busybox/config/modutils/Config.in create mode 100644 package/busybox/config/networking/Config.in create mode 100644 package/busybox/config/networking/udhcp/Config.in create mode 100644 package/busybox/config/procps/Config.in create mode 100644 package/busybox/config/shell/Config.in create mode 100644 package/busybox/config/sysklogd/Config.in create mode 100644 package/busybox/config/util-linux/Config.in create mode 100644 package/busybox/patches/001-wget_long_options.patch create mode 100644 package/busybox/patches/100-killall5.patch create mode 100644 package/busybox/patches/110-telnetd.patch create mode 100644 package/busybox/patches/140-unlink-passwd.patch create mode 100644 package/busybox/patches/150-udhcp-release.patch create mode 100644 package/busybox/patches/170-udhcp-options.patch create mode 100644 package/busybox/patches/180-telnetd_ipv6.patch create mode 100644 package/busybox/patches/190-ash_performance.patch create mode 100644 package/busybox/patches/200-etc_crontabs.patch create mode 100644 package/busybox/patches/210-passwd_limit.patch create mode 100644 package/busybox/patches/220-awk_bitops.patch create mode 100644 package/busybox/patches/230-grep_C.patch create mode 100644 package/busybox/patches/300-netmsg.patch create mode 100644 package/busybox/patches/310-passwd_access.patch create mode 100644 package/busybox/patches/320-httpd_address_binding.patch create mode 100644 package/busybox/patches/330-httpd_user_agent.patch create mode 100644 package/busybox/patches/340-lock_util.patch create mode 100644 package/busybox/patches/911-ipkg.patch create mode 100644 package/busybox/patches/912-ipkg-no_warnings.patch create mode 100644 package/busybox/patches/913-libbb_hash.patch create mode 100644 package/busybox/patches/914-ipkg-fixes.patch create mode 100644 package/diag/Makefile create mode 100644 package/diag/src/Makefile create mode 100644 package/diag/src/diag.c create mode 100644 package/dnsmasq/Makefile create mode 100644 package/dnsmasq/files/dnsmasq.conf create mode 100644 package/dnsmasq/files/dnsmasq.init create mode 100644 package/dnsmasq/patches/101-ipv6.patch create mode 100644 package/dropbear/Makefile create mode 100755 package/dropbear/files/dropbear.init create mode 100644 package/dropbear/patches/100-pubkey_path.patch create mode 100644 package/dropbear/patches/110-change_user.patch create mode 100644 package/dropbear/patches/120-hostkey_prompt.patch create mode 100644 package/dropbear/patches/130-ssh_ignore_o_and_x_args.patch create mode 100644 package/dropbear/patches/140-use_dev_urandom.patch create mode 100644 package/dropbear/patches/150-dbconvert_standalone.patch create mode 100644 package/ebtables/Makefile create mode 100644 package/fuse/Makefile create mode 100644 package/fuse/patches/101-kmod_build.patch create mode 100644 package/fuse/patches/102-no_depmod.patch create mode 100644 package/fuse/patches/111-uclibc_changes.patch create mode 100644 package/fuse/patches/112-no_break_on_mknod.patch create mode 100644 package/gdbserver/Makefile create mode 100644 package/gmp/Makefile create mode 100644 package/haserl/Makefile create mode 100644 package/hostap-utils/Makefile create mode 100644 package/hostap/Makefile create mode 100644 package/hostapd/Makefile create mode 100644 package/hostapd/files/default.config create mode 100644 package/hostapd/files/mini.config create mode 100644 package/hostapd/patches/001-cross_compile_fix.patch create mode 100644 package/hostapd/patches/100-madwifi_fixes.patch create mode 100644 package/iproute2/Makefile create mode 100644 package/iproute2/patches/000-debian_patches_3.patch create mode 100644 package/iproute2/patches/001-iproute2-2.6.11_Config.patch create mode 100644 package/iproute2/patches/002-iproute2-ipxfrm_no_sctp.patch create mode 100644 package/iproute2/patches/003-iproute2-htb_overhead.patch create mode 100644 package/ipsec-tools/Makefile create mode 100644 package/ipsec-tools/patches/01-no_libfl.patch create mode 100644 package/ipsec-tools/patches/02-configure_cppflags_typo.patch create mode 100644 package/ipset/Makefile create mode 100644 package/ipset/patches/kernel26.patch create mode 100644 package/iptables/Makefile create mode 100644 package/iptables/files/firewall.awk create mode 100644 package/iptables/files/firewall.config create mode 100755 package/iptables/files/firewall.init create mode 100644 package/iptables/files/firewall.user create mode 100644 package/iptables/files/l7/aim.pat create mode 100644 package/iptables/files/l7/bittorrent.pat create mode 100644 package/iptables/files/l7/edonkey-dl.pat create mode 100644 package/iptables/files/l7/edonkey.pat create mode 100644 package/iptables/files/l7/fasttrack.pat create mode 100644 package/iptables/files/l7/ftp.pat create mode 100644 package/iptables/files/l7/gnutella.pat create mode 100644 package/iptables/files/l7/http.pat create mode 100644 package/iptables/files/l7/ident.pat create mode 100644 package/iptables/files/l7/irc.pat create mode 100644 package/iptables/files/l7/jabber.pat create mode 100644 package/iptables/files/l7/msnmessenger.pat create mode 100644 package/iptables/files/l7/ntp.pat create mode 100644 package/iptables/files/l7/pop3.pat create mode 100644 package/iptables/files/l7/smtp.pat create mode 100644 package/iptables/files/l7/ssl.pat create mode 100644 package/iptables/files/l7/vnc.pat create mode 100644 package/iptables/patches/01-ipp2p-0.8.1rc1.patch create mode 100644 package/iptables/patches/02-layer7-1.5nbd.patch create mode 100644 package/iptables/patches/04-multiport_v1.patch create mode 100644 package/iptables/patches/05-imq1.patch create mode 100644 package/isakmpd/Makefile create mode 100644 package/isakmpd/patches/010-debian_3.patch create mode 100644 package/isakmpd/patches/020-standardize.patch create mode 100644 package/isakmpd/patches/030-openssl_hashes.patch create mode 100644 package/isakmpd/patches/040-security_fix.patch create mode 100644 package/kernel/Makefile create mode 100644 package/kernel/modules.mk create mode 100644 package/keynote/Makefile create mode 100644 package/keynote/patches/01-build.patch create mode 100644 package/keynote/patches/02-cross_compile.patch create mode 100644 package/libpcap/Makefile create mode 100644 package/libpcap/patches/100-shared-lib.patch create mode 100644 package/libpcap/patches/101-cross-compile-fix.patch create mode 100644 package/libpcap/patches/102-alt-ether.patch create mode 100644 package/libpcap/patches/103-flex_workaround.patch create mode 100644 package/linux-atm/Makefile create mode 100644 package/linux-atm/files/br2684.hotplug create mode 100644 package/linux-atm/patches/000-debian_16.patch create mode 100644 package/linux-atm/patches/100-br2684.patch create mode 100644 package/linux-atm/patches/200-no_libfl.patch create mode 100644 package/linux-atm/patches/300-no_autotools.patch create mode 100644 package/linux-atm/patches/400-stdint_local_instead_of_host.patch create mode 100644 package/madwifi/Makefile create mode 100644 package/madwifi/files/madwifi.init create mode 100644 package/madwifi/files/madwifi.modules create mode 100644 package/madwifi/patches/100-kernel_cflags.patch create mode 100644 package/madwifi/patches/101-no_werror.patch create mode 100644 package/madwifi/patches/102-multicall_binary.patch create mode 100644 package/madwifi/patches/103-disable_rfkill.patch create mode 100644 package/madwifi/patches/104-apmode_by_default.patch create mode 100644 package/mini_fo/Makefile create mode 100644 package/mini_fo/patches/101-kmod_build.patch create mode 100644 package/mini_fo/patches/102-mutex_change.patch create mode 100644 package/mini_fo/patches/103-remove_dead_code.patch create mode 100644 package/mtd/Makefile create mode 100644 package/mtd/src/Makefile create mode 100644 package/mtd/src/mtd.c create mode 100644 package/nvram/Makefile create mode 100644 package/nvram/src/Makefile create mode 100644 package/nvram/src/bcmtimer.h create mode 100644 package/nvram/src/defaults.c create mode 100644 package/nvram/src/include/bcmnvram.h create mode 100644 package/nvram/src/include/bcmutils.h create mode 100644 package/nvram/src/include/cy_conf.h create mode 100644 package/nvram/src/include/epivers.h create mode 100644 package/nvram/src/include/proto/802.11.h create mode 100644 package/nvram/src/include/proto/ethernet.h create mode 100644 package/nvram/src/include/shutils.h create mode 100644 package/nvram/src/include/typedefs.h create mode 100644 package/nvram/src/include/utils.h create mode 100644 package/nvram/src/include/wlcompat.h create mode 100644 package/nvram/src/include/wlioctl.h create mode 100644 package/nvram/src/include/wlutils.h create mode 100644 package/nvram/src/linux_timer.c create mode 100644 package/nvram/src/main.c create mode 100644 package/nvram/src/nvram_convert.c create mode 100644 package/nvram/src/nvram_convert.h create mode 100644 package/nvram/src/nvram_linux.c create mode 100644 package/nvram/src/shutils.c create mode 100644 package/nvram/src/wl.c create mode 100644 package/nvram/src/wl_linux.c create mode 100644 package/openssl/Makefile create mode 100644 package/openssl/patches/110-optimize-for-size.patch create mode 100644 package/openssl/patches/120-makedepend.patch create mode 100644 package/openssl/patches/130-perl-path.patch create mode 100644 package/openssl/patches/140-makefile-dirs.patch create mode 100644 package/openssl/patches/150-no_engines.patch create mode 100644 package/openssl/patches/160-disable_doc_tests.patch create mode 100644 package/openswan/Makefile create mode 100644 package/openswan/patches/100-pluto_includes.patch create mode 100644 package/openswan/patches/110-scripts.patch create mode 100644 package/openswan/patches/120-use_dev_urandom.patch create mode 100644 package/pcmcia-cs/Makefile create mode 100644 package/pcmcia-cs/patches/001-config-novatel_merlin_u630.patch create mode 100644 package/ppp/Makefile create mode 100644 package/ppp/files/etc/ppp/chap-secrets create mode 100644 package/ppp/files/etc/ppp/filter create mode 100755 package/ppp/files/etc/ppp/ip-down create mode 100755 package/ppp/files/etc/ppp/ip-up create mode 100644 package/ppp/files/etc/ppp/options create mode 100644 package/ppp/files/etc/ppp/radius.conf create mode 100644 package/ppp/files/etc/ppp/radius/dictionary create mode 100644 package/ppp/files/etc/ppp/radius/dictionary.asnet create mode 100644 package/ppp/files/etc/ppp/radius/dictionary.microsoft create mode 100644 package/ppp/files/etc/ppp/radius/servers create mode 100644 package/ppp/files/ppp.sh create mode 100644 package/ppp/files/pppoa.sh create mode 100644 package/ppp/files/pppoe.sh create mode 100644 package/ppp/patches/010-use_target_for_configure.patch create mode 100644 package/ppp/patches/100-debian_close_dev_ppp.patch create mode 100644 package/ppp/patches/101-debian_ip-up_option.patch create mode 100644 package/ppp/patches/102-debian_pppoe_multicast_pado.patch create mode 100644 package/ppp/patches/103-debian_pppoe_cleanup.patch create mode 100644 package/ppp/patches/104-debian_fix_linkpidfile.patch create mode 100644 package/ppp/patches/105-debian_pppoatm_cleanup.patch create mode 100644 package/ppp/patches/106-debian_pppoatm_fix_mtu.patch create mode 100644 package/ppp/patches/107-debian_stripMSdomain.patch create mode 100644 package/ppp/patches/108-debian_defaultroute.patch create mode 100644 package/ppp/patches/109-debian_demand.patch create mode 100644 package/ppp/patches/200-makefile.patch create mode 100644 package/ppp/patches/201-mppe_mppc_1.1.patch create mode 100644 package/ppp/patches/202-atm_fix.patch create mode 100644 package/ppp/patches/203-no_strip.patch create mode 100644 package/ppp/patches/204-opt_flags.patch create mode 100644 package/ppp/patches/205-pppoe_iface_name.patch create mode 100644 package/ppp/patches/206-radius_config.patch create mode 100644 package/ppp/patches/207-ppp_reconnect.patch create mode 100644 package/ppp/patches/208-no_exponential_timeout.patch create mode 100644 package/ppp/patches/209-compensate_time_change.patch create mode 100644 package/ppp/patches/210-lcp_mtu_max.patch create mode 100644 package/ppp/patches/300-filter-pcap-includes-lib.patch create mode 100644 package/ppp/patches/310-precompiled_filter.patch create mode 100644 package/ppp/utils/pfc.c create mode 100644 package/pptp/Makefile create mode 100644 package/pptp/files/options.pptp create mode 100644 package/pptp/files/pptp.sh create mode 100644 package/qos-scripts/Makefile create mode 100644 package/qos-scripts/files/etc/config/qos create mode 100755 package/qos-scripts/files/etc/hotplug.d/iface/10-qos create mode 100755 package/qos-scripts/files/etc/init.d/S50qos create mode 100755 package/qos-scripts/files/usr/bin/qos-start create mode 100755 package/qos-scripts/files/usr/bin/qos-stat create mode 100755 package/qos-scripts/files/usr/bin/qos-stop create mode 100755 package/qos-scripts/files/usr/lib/qos.sh create mode 100644 package/robocfg/Makefile create mode 100644 package/robocfg/src/Makefile create mode 100644 package/robocfg/src/etc53xx.h create mode 100644 package/robocfg/src/robocfg.c create mode 100644 package/shfs/Makefile create mode 100644 package/shfs/patches/101-kmod_build.patch create mode 100644 package/shfs/patches/102-gcc4_fix.patch create mode 100644 package/shfs/patches/103-dentry.patch create mode 100644 package/spca5xx/Makefile create mode 100644 package/spca5xx/patches/01-kmod-build.patch create mode 100644 package/spca5xx/patches/02-seq_bug.patch create mode 100644 package/switch/Makefile create mode 100644 package/switch/files/switch.sh create mode 100644 package/switch/src/Makefile create mode 100644 package/switch/src/etc53xx.h create mode 100644 package/switch/src/gpio.h create mode 100644 package/switch/src/switch-adm.c create mode 100644 package/switch/src/switch-core.c create mode 100644 package/switch/src/switch-core.h create mode 100644 package/switch/src/switch-robo.c create mode 100644 package/udev/Makefile create mode 100644 package/udev/patches/01-no_debug.patch create mode 100644 package/ueagle-atm/Makefile create mode 100644 package/ueagle-atm/files/ueagle-atm.modules create mode 100644 package/ueagle-atm/patches/100-compile_fix.patch create mode 100644 package/util-linux/Makefile create mode 100644 package/util-linux/patches/501-mconfig.patch create mode 100644 package/util-linux/patches/601-util-linux-2.12r-umount-no-special.patch create mode 100644 package/wireless-tools/Makefile create mode 100644 package/wireless-tools/patches/debian-2.patch create mode 100644 package/wlcompat/Makefile create mode 100644 package/wlcompat/src/Makefile create mode 100644 package/wlcompat/src/include/bcmnvram.h create mode 100644 package/wlcompat/src/include/bcmutils.h create mode 100644 package/wlcompat/src/include/cy_conf.h create mode 100644 package/wlcompat/src/include/epivers.h create mode 100644 package/wlcompat/src/include/proto/802.11.h create mode 100644 package/wlcompat/src/include/proto/ethernet.h create mode 100644 package/wlcompat/src/include/shutils.h create mode 100644 package/wlcompat/src/include/typedefs.h create mode 100644 package/wlcompat/src/include/utils.h create mode 100644 package/wlcompat/src/include/wlcompat.h create mode 100644 package/wlcompat/src/include/wlioctl.h create mode 100644 package/wlcompat/src/include/wlutils.h create mode 100644 package/wlcompat/src/wlcompat.c create mode 100644 package/yamonenv/Makefile create mode 100644 package/zd1211/Makefile create mode 100644 package/zlib/Makefile create mode 100644 package/zlib/patches/zlib.patch create mode 100644 rules.mk create mode 100755 scripts/adam2flash.pl create mode 100755 scripts/config.guess create mode 100644 scripts/config/Makefile create mode 100644 scripts/config/README create mode 100644 scripts/config/conf.c create mode 100644 scripts/config/confdata.c create mode 100644 scripts/config/expr.c create mode 100644 scripts/config/expr.h create mode 100644 scripts/config/kconfig_load.c create mode 100644 scripts/config/lex.backup create mode 100644 scripts/config/lex.zconf.c_shipped create mode 100644 scripts/config/lkc.h create mode 100644 scripts/config/lkc_proto.h create mode 100644 scripts/config/lxdialog/BIG.FAT.WARNING create mode 100644 scripts/config/lxdialog/Makefile create mode 100644 scripts/config/lxdialog/check-lxdialog.sh create mode 100644 scripts/config/lxdialog/checklist.c create mode 100644 scripts/config/lxdialog/colors.h create mode 100644 scripts/config/lxdialog/dialog.h create mode 100644 scripts/config/lxdialog/inputbox.c create mode 100644 scripts/config/lxdialog/lxdialog.c create mode 100644 scripts/config/lxdialog/menubox.c create mode 100644 scripts/config/lxdialog/msgbox.c create mode 100644 scripts/config/lxdialog/textbox.c create mode 100644 scripts/config/lxdialog/util.c create mode 100644 scripts/config/lxdialog/yesno.c create mode 100644 scripts/config/mconf.c create mode 100644 scripts/config/menu.c create mode 100644 scripts/config/symbol.c create mode 100644 scripts/config/util.c create mode 100644 scripts/config/zconf.gperf create mode 100644 scripts/config/zconf.hash.c_shipped create mode 100644 scripts/config/zconf.l create mode 100644 scripts/config/zconf.tab.c_shipped create mode 100644 scripts/config/zconf.y create mode 100755 scripts/configtest.pl create mode 100755 scripts/download.pl create mode 100644 scripts/flash.sh create mode 100755 scripts/gen_busybox_config.pl create mode 100644 scripts/gen_busybox_menuconfig.pl create mode 100755 scripts/gen_deps.pl create mode 100755 scripts/gen_menuconfig.pl create mode 100755 scripts/ipkg create mode 100755 scripts/ipkg-make-index.sh create mode 100755 scripts/make-ipkg-dir.sh create mode 100755 scripts/patch-kernel.sh create mode 100755 scripts/rstrip.sh create mode 100755 scripts/timestamp.pl create mode 100644 target/Config.in create mode 100644 target/Makefile create mode 100644 target/image/ar7/Makefile create mode 100644 target/image/ar7/sercomm/adam2.bin create mode 100644 target/image/ar7/sercomm/dg834 create mode 100644 target/image/ar7/sercomm/jdr454wb create mode 100644 target/image/ar7/src/LzmaDecode.c create mode 100644 target/image/ar7/src/LzmaDecode.h create mode 100644 target/image/ar7/src/gzip.h create mode 100644 target/image/ar7/src/ld.script.in create mode 100644 target/image/ar7/src/loader.c create mode 100644 target/image/ar7/src/srec2bin.c create mode 100644 target/image/ar7/src/zimage.script.in create mode 100644 target/image/aruba/Makefile create mode 100755 target/image/aruba/addVersion create mode 100644 target/image/aruba/version create mode 100644 target/image/au1000/Makefile create mode 100644 target/image/brcm/Makefile create mode 100644 target/image/brcm/lzma-loader/Makefile create mode 100644 target/image/brcm/lzma-loader/src/LzmaDecode.c create mode 100644 target/image/brcm/lzma-loader/src/LzmaDecode.h create mode 100644 target/image/brcm/lzma-loader/src/Makefile create mode 100644 target/image/brcm/lzma-loader/src/README create mode 100644 target/image/brcm/lzma-loader/src/decompress.c create mode 100644 target/image/brcm/lzma-loader/src/decompress.lds.in create mode 100644 target/image/brcm/lzma-loader/src/head.S create mode 100644 target/image/brcm/lzma-loader/src/loader.lds.in create mode 100644 target/image/brcm63xx/Makefile create mode 100644 target/image/generic/Makefile create mode 100644 target/image/generic/lzma-loader/Makefile create mode 100644 target/image/generic/lzma-loader/src/LzmaDecode.c create mode 100644 target/image/generic/lzma-loader/src/LzmaDecode.h create mode 100644 target/image/generic/lzma-loader/src/Makefile create mode 100644 target/image/generic/lzma-loader/src/decompress.c create mode 100644 target/image/generic/lzma-loader/src/lzma-copy.lds.in create mode 100644 target/image/generic/lzma-loader/src/lzma.lds.in create mode 100644 target/image/generic/lzma-loader/src/print.c create mode 100644 target/image/generic/lzma-loader/src/print.h create mode 100644 target/image/generic/lzma-loader/src/printf.c create mode 100644 target/image/generic/lzma-loader/src/printf.h create mode 100644 target/image/generic/lzma-loader/src/start.S create mode 100644 target/image/generic/lzma-loader/src/uart16550.c create mode 100644 target/image/generic/lzma-loader/src/uart16550.h create mode 100644 target/image/magicbox/Makefile create mode 100644 target/image/rb532/Makefile create mode 100755 target/image/uml/Makefile create mode 100644 target/image/x86/Config.in create mode 100644 target/image/x86/Makefile create mode 100755 target/image/x86/gen_image.sh create mode 100644 target/image/x86/grub/Makefile create mode 100644 target/image/x86/grub/menu.lst create mode 100644 target/image/xscale/Makefile create mode 100644 target/linux/Config.in create mode 100644 target/linux/Makefile create mode 100644 target/linux/ar531x-2.4/Makefile create mode 100644 target/linux/ar531x-2.4/config create mode 100644 target/linux/ar531x-2.4/patches/000-atheros-support.patch create mode 100644 target/linux/ar7-2.4/Config.in create mode 100644 target/linux/ar7-2.4/Makefile create mode 100644 target/linux/ar7-2.4/config create mode 100644 target/linux/ar7-2.4/patches/000-ar7_support.patch create mode 100644 target/linux/ar7-2.4/patches/001-flash_map.patch create mode 100644 target/linux/ar7-2.4/patches/002-led_driver.patch create mode 100644 target/linux/ar7-2.4/patches/003-net_driver_cpmac.patch create mode 100644 target/linux/ar7-2.4/patches/004-atm_driver.patch create mode 100644 target/linux/ar7-2.4/patches/005-wdt_driver.patch create mode 100644 target/linux/ar7-2.4/patches/006-sched_use_tsc.patch create mode 100644 target/linux/aruba-2.6/Makefile create mode 100644 target/linux/aruba-2.6/config create mode 100644 target/linux/aruba-2.6/patches/000-aruba.patch create mode 100644 target/linux/aruba-2.6/patches/001-flash.patch create mode 100644 target/linux/aruba-2.6/patches/002-irq.patch create mode 100644 target/linux/aruba-2.6/patches/003-pci.patch create mode 100644 target/linux/aruba-2.6/patches/004-wdt.patch create mode 100644 target/linux/aruba-2.6/patches/010-ar2313_enet.patch create mode 100644 target/linux/aruba-2.6/patches/011-ap6x_serial_fix.patch create mode 100644 target/linux/aruba-2.6/patches/012-ehci_softirq.patch create mode 100644 target/linux/au1000-2.6/Makefile create mode 100644 target/linux/au1000-2.6/config create mode 100644 target/linux/au1000-2.6/patches/001-redefinitions_fixes.patch create mode 100644 target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch create mode 100644 target/linux/au1000-2.6/patches/003-zImage.patch create mode 100644 target/linux/au1000-2.6/patches/004-mtx1_watchdog.patch create mode 100644 target/linux/au1000-2.6/patches/005-au1000_eth_link_beat.patch create mode 100644 target/linux/au1000-2.6/patches/006-mtx1_system_button.patch create mode 100644 target/linux/au1000-2.6/patches/007-mtx1_sio2.patch create mode 100644 target/linux/au1000-2.6/patches/008-isdel_cardbus.patch create mode 100644 target/linux/brcm-2.4/Makefile create mode 100644 target/linux/brcm-2.4/config create mode 100644 target/linux/brcm-2.4/patches/001-bcm47xx.patch create mode 100644 target/linux/brcm-2.4/patches/002-wl_fix.patch create mode 100644 target/linux/brcm-2.4/patches/003-bcm47xx_cache_fixes.patch create mode 100644 target/linux/brcm-2.4/patches/004-flash.patch create mode 100644 target/linux/brcm-2.4/patches/005-bluetooth_sco_buffer_align.patch create mode 100644 target/linux/brcm-2.4/patches/006-ide_workaround.patch create mode 100644 target/linux/brcm-2.4/patches/007-sched_use_tsc.patch create mode 100644 target/linux/brcm-2.4/patches/008-b44_bcm47xx_support.patch create mode 100644 target/linux/brcm-2.4/patches/009-wrt54g3g_pcmcia.patch create mode 100644 target/linux/brcm-2.4/patches/010-bcm47xx-cam_absent.patch create mode 100644 target/linux/brcm-2.6/Makefile create mode 100644 target/linux/brcm-2.6/config create mode 100644 target/linux/brcm-2.6/patches/001-bcm947xx.patch create mode 100644 target/linux/brcm-2.6/patches/002-flash-map.patch create mode 100644 target/linux/brcm-2.6/patches/003-bcm4710_cache_fixes.patch create mode 100644 target/linux/brcm-2.6/patches/004-b44_bcm47xx_support.patch create mode 100644 target/linux/brcm-2.6/patches/010-bcm47xx-cam_absent.patch create mode 100644 target/linux/brcm63xx-2.6/Makefile create mode 100644 target/linux/brcm63xx-2.6/config create mode 100644 target/linux/brcm63xx-2.6/patches/001-bcm963xx.patch create mode 100644 target/linux/brcm63xx-2.6/patches/040-bcm963xx_flashmap.patch create mode 100644 target/linux/brcm63xx-2.6/patches/100-binary_hacks.patch create mode 100644 target/linux/control/kernel.control create mode 100644 target/linux/control/kmod-atm.control create mode 100644 target/linux/control/kmod-ax25.control create mode 100644 target/linux/control/kmod-bluetooth.control create mode 100644 target/linux/control/kmod-brcm-et.control create mode 100644 target/linux/control/kmod-brcm-wl.control create mode 100644 target/linux/control/kmod-brcm-wl2.control create mode 100644 target/linux/control/kmod-cpmac.control create mode 100644 target/linux/control/kmod-fs-cifs.control create mode 100644 target/linux/control/kmod-fs-ext2.control create mode 100644 target/linux/control/kmod-fs-ext3.control create mode 100644 target/linux/control/kmod-fs-hfsplus.control create mode 100644 target/linux/control/kmod-fs-minix.control create mode 100644 target/linux/control/kmod-fs-nfs.control create mode 100644 target/linux/control/kmod-fs-vfat.control create mode 100644 target/linux/control/kmod-fs-xfs.control create mode 100644 target/linux/control/kmod-imq.control create mode 100644 target/linux/control/kmod-iptables-extra.control create mode 100644 target/linux/control/kmod-iptables.control create mode 100644 target/linux/control/kmod-loop.control create mode 100644 target/linux/control/kmod-lp.control create mode 100644 target/linux/control/kmod-nbd.control create mode 100644 target/linux/control/kmod-net-airo.control create mode 100644 target/linux/control/kmod-net-hermes-pci.control create mode 100644 target/linux/control/kmod-net-hermes-plx.control create mode 100644 target/linux/control/kmod-net-hermes.control create mode 100644 target/linux/control/kmod-net-prism54.control create mode 100644 target/linux/control/kmod-nls-base.control create mode 100644 target/linux/control/kmod-nls-cp437.control create mode 100644 target/linux/control/kmod-nls-cp850.control create mode 100644 target/linux/control/kmod-nls-iso8859-1.control create mode 100644 target/linux/control/kmod-nls-iso8859-15.control create mode 100644 target/linux/control/kmod-nls-utf8.control create mode 100644 target/linux/control/kmod-pcmcia-core.control create mode 100644 target/linux/control/kmod-pcmcia-serial.control create mode 100644 target/linux/control/kmod-pwc.control create mode 100644 target/linux/control/kmod-sangam-atm-annex-a.control create mode 100644 target/linux/control/kmod-sangam-atm-annex-b.control create mode 100644 target/linux/control/kmod-softdog.control create mode 100644 target/linux/control/kmod-soundcore.control create mode 100644 target/linux/control/kmod-usb-acm.control create mode 100644 target/linux/control/kmod-usb-atm-speedtouch.control create mode 100644 target/linux/control/kmod-usb-atm.control create mode 100644 target/linux/control/kmod-usb-audio.control create mode 100644 target/linux/control/kmod-usb-core.control create mode 100644 target/linux/control/kmod-usb-ohci.control create mode 100644 target/linux/control/kmod-usb-printer.control create mode 100644 target/linux/control/kmod-usb-serial-belkin.control create mode 100644 target/linux/control/kmod-usb-serial-ftdi.control create mode 100644 target/linux/control/kmod-usb-serial-mct-u232.control create mode 100644 target/linux/control/kmod-usb-serial-pl2303.control create mode 100644 target/linux/control/kmod-usb-serial-visor.control create mode 100644 target/linux/control/kmod-usb-serial.control create mode 100644 target/linux/control/kmod-usb-storage.control create mode 100644 target/linux/control/kmod-usb-uhci.control create mode 100644 target/linux/control/kmod-usb2.control create mode 100644 target/linux/control/kmod-videodev.control create mode 100644 target/linux/control/kmod-wd1100.control create mode 100644 target/linux/generic-2.4/README create mode 100644 target/linux/generic-2.4/patches/000-linux_mips.patch create mode 100644 target/linux/generic-2.4/patches/001-squashfs.patch create mode 100644 target/linux/generic-2.4/patches/002-squashfs_lzma.patch create mode 100644 target/linux/generic-2.4/patches/003-jffs2_compression.patch create mode 100644 target/linux/generic-2.4/patches/004-exec_pagesize.patch create mode 100644 target/linux/generic-2.4/patches/005-mtd_flashtypes.patch create mode 100644 target/linux/generic-2.4/patches/006-gcc4_fixes.patch create mode 100644 target/linux/generic-2.4/patches/007-more_gcc4_fixes.patch create mode 100644 target/linux/generic-2.4/patches/008-intel_flashchip_fix.patch create mode 100644 target/linux/generic-2.4/patches/009-calibrate_section.patch create mode 100644 target/linux/generic-2.4/patches/010-disable_old_squashfs_compatibility.patch create mode 100644 target/linux/generic-2.4/patches/050-build_flags.patch create mode 100644 target/linux/generic-2.4/patches/051-remove_pcmcia_modinst_compat.patch create mode 100644 target/linux/generic-2.4/patches/100-wireless-extension.patch create mode 100644 target/linux/generic-2.4/patches/106-mppe_mppc.patch create mode 100644 target/linux/generic-2.4/patches/107-cifs.patch create mode 100644 target/linux/generic-2.4/patches/108-optional_aout_support.patch create mode 100644 target/linux/generic-2.4/patches/109-ipsec_nat_traversal.patch create mode 100644 target/linux/generic-2.4/patches/110-netdev_random_core.patch create mode 100644 target/linux/generic-2.4/patches/112-bridging_performance.patch create mode 100644 target/linux/generic-2.4/patches/113-even_more_gcc4_stuff.patch create mode 100644 target/linux/generic-2.4/patches/200-i4l.patch create mode 100644 target/linux/generic-2.4/patches/201-hfc_usb_backport.patch create mode 100644 target/linux/generic-2.4/patches/202-pl2303_backport.patch create mode 100644 target/linux/generic-2.4/patches/203-hfsplus_fix.patch create mode 100644 target/linux/generic-2.4/patches/206-gcc_3.4_fixes.patch create mode 100644 target/linux/generic-2.4/patches/208-usb2_fix.patch create mode 100644 target/linux/generic-2.4/patches/209-build_fixes.patch create mode 100644 target/linux/generic-2.4/patches/210-fix-irq-serial.patch create mode 100644 target/linux/generic-2.4/patches/212-htb_time_fix.patch create mode 100644 target/linux/generic-2.4/patches/213-htb_disable_hysteresis.patch create mode 100644 target/linux/generic-2.4/patches/222-sound.patch create mode 100644 target/linux/generic-2.4/patches/224-atm_hotplug.patch create mode 100644 target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch create mode 100644 target/linux/generic-2.4/patches/226-atm_br2684.patch create mode 100644 target/linux/generic-2.4/patches/227-jffs2_eofdetect.patch create mode 100644 target/linux/generic-2.4/patches/228-more_usb_fixes.patch create mode 100644 target/linux/generic-2.4/patches/229-pppoe_mtu_fix.patch create mode 100644 target/linux/generic-2.4/patches/601-netfilter_ipp2p_0.8.1rc1.patch create mode 100644 target/linux/generic-2.4/patches/602-netfilter_layer7_2.1nbd.patch create mode 100644 target/linux/generic-2.4/patches/603-netfilter_nat_pptp.patch create mode 100644 target/linux/generic-2.4/patches/604-netfilter_maxconn.patch create mode 100644 target/linux/generic-2.4/patches/605-netfilter_TTL.patch create mode 100644 target/linux/generic-2.4/patches/606-netfilter_NETMAP.patch create mode 100644 target/linux/generic-2.4/patches/607-netfilter_connmark.patch create mode 100644 target/linux/generic-2.4/patches/608-netfilter_ipset.patch create mode 100644 target/linux/generic-2.4/patches/609-netfilter_string.patch create mode 100644 target/linux/generic-2.4/patches/610-netfilter_connbytes.patch create mode 100644 target/linux/generic-2.4/patches/611-netfilter_condition.patch create mode 100644 target/linux/generic-2.4/patches/612-netfilter_quota.patch create mode 100644 target/linux/generic-2.4/patches/613-netfilter_nat_h323.patch create mode 100644 target/linux/generic-2.4/patches/614-netfilter_nat_rtsp.patch create mode 100644 target/linux/generic-2.4/patches/615-netfilter_nat_mms.patch create mode 100644 target/linux/generic-2.4/patches/616-netfilter_imq.patch create mode 100644 target/linux/generic-2.4/patches/617-netfilter_time.patch create mode 100644 target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch create mode 100644 target/linux/generic-2.4/patches/700-multiple_default_gateways.patch create mode 100755 target/linux/generic-2.6/files/init create mode 100644 target/linux/generic-2.6/patches/000-reenable_devfs.patch create mode 100644 target/linux/generic-2.6/patches/001-squashfs.patch create mode 100644 target/linux/generic-2.6/patches/002-squashfs_lzma.patch create mode 100644 target/linux/generic-2.6/patches/004-extra_optimization.patch create mode 100644 target/linux/generic-2.6/patches/005-gcc4_fix.patch create mode 100644 target/linux/generic-2.6/patches/006-gcc4_inline_fix.patch create mode 100644 target/linux/generic-2.6/patches/010-disable_old_squashfs_compatibility.patch create mode 100644 target/linux/generic-2.6/patches/011-mips_boot.patch create mode 100644 target/linux/generic-2.6/patches/100-netfilter_layer7_2.1nbd.patch create mode 100644 target/linux/generic-2.6/patches/101-ipp2p_0.8.1rc1.patch create mode 100644 target/linux/generic-2.6/patches/102-openswan-2.4.0.kernel-2.6-natt.patch create mode 100644 target/linux/generic-2.6/patches/103-netfilter-ipset.patch create mode 100644 target/linux/generic-2.6/patches/105-netfilter_time.patch create mode 100644 target/linux/generic-2.6/patches/106-netfilter_imq.patch create mode 100644 target/linux/generic-2.6/patches/107-netfilter_nat_sip.patch create mode 100644 target/linux/generic-2.6/patches/108-netfilter_route.patch create mode 100644 target/linux/generic-2.6/patches/200-sched_esfq.patch create mode 100644 target/linux/generic-2.6/patches/201-multiple_default_gateways.patch create mode 100644 target/linux/generic-2.6/patches/202-mips-freestanding.patch create mode 100644 target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch create mode 100644 target/linux/generic-2.6/patches/204-jffs2_eofdetect.patch create mode 100644 target/linux/generic-2.6/patches/205-block2mtd_fix.patch create mode 100644 target/linux/generic-2.6/patches/206-pppoe_mtu_fix.patch create mode 100644 target/linux/magicbox-2.6/Makefile create mode 100644 target/linux/magicbox-2.6/config create mode 100644 target/linux/magicbox-2.6/patches/001-magicbox_support.patch create mode 100644 target/linux/magicbox-2.6/patches/002-flash_map.patch create mode 100644 target/linux/package/Config.in create mode 100644 target/linux/package/Makefile create mode 100644 target/linux/rb532-2.6/Makefile create mode 100644 target/linux/rb532-2.6/config create mode 100644 target/linux/rb532-2.6/patches/100-rb5xx_support.patch create mode 100644 target/linux/rb532-2.6/patches/110-korina_ethernet.patch create mode 100644 target/linux/rb532-2.6/patches/120-cf.patch create mode 100644 target/linux/rb532-2.6/patches/130-custom_partitions.patch create mode 100644 target/linux/rb532-2.6/patches/200-bridge_resource_hack.patch create mode 100644 target/linux/rb532-2.6/patches/210-pci_fixes.patch create mode 100644 target/linux/rb532-2.6/patches/220-serial_fix.patch create mode 100644 target/linux/rb532-2.6/patches/230-dma_limit.patch create mode 100644 target/linux/rb532-2.6/patches/240-via_rhine_performance.patch create mode 100644 target/linux/sibyte-2.6/Makefile create mode 100644 target/linux/sibyte-2.6/config create mode 100644 target/linux/sibyte-2.6/patches/000-DUART.patch create mode 100644 target/linux/sibyte-2.6/patches/001-bcm112x_ax.patch create mode 100644 target/linux/uml-2.6/Makefile create mode 100644 target/linux/uml-2.6/README create mode 100644 target/linux/uml-2.6/config create mode 100644 target/linux/x86-2.6/Makefile create mode 100644 target/linux/x86-2.6/config create mode 100644 target/linux/x86-2.6/patches/100-scx200_hr_timer.patch create mode 100644 target/linux/xscale-2.6/Makefile create mode 100644 target/linux/xscale-2.6/config create mode 100644 target/linux/xscale-2.6/patches/001-gateway_7001.patch create mode 100644 target/sdk/Config.in create mode 100644 target/sdk/Makefile create mode 100644 target/sdk/files/Makefile create mode 100644 target/sdk/files/README.SDK create mode 100644 target/sdk/files/package/depend.mk create mode 100644 target/sdk/files/package/rules.mk create mode 100644 target/utils/Makefile create mode 100644 target/utils/src/addpattern.c create mode 100644 target/utils/src/dgfirmware.c create mode 100644 target/utils/src/motorola-bin.c create mode 100644 target/utils/src/trx.c create mode 100644 toolchain/Config.in create mode 100644 toolchain/Makefile create mode 100644 toolchain/binutils/Config.in create mode 100644 toolchain/binutils/Makefile create mode 100644 toolchain/binutils/patches/2.16.1/100-uclibc-conf.patch create mode 100644 toolchain/binutils/patches/2.16.1/110-uclibc-libtool-conf.patch create mode 100644 toolchain/binutils/patches/2.16.1/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/2.16.1/300-006_better_file_error.patch create mode 100644 toolchain/binutils/patches/2.16.1/300-012_check_ldrunpath_length.patch create mode 100644 toolchain/binutils/patches/2.16.1/702-binutils-skip-comments.patch create mode 100644 toolchain/binutils/patches/2.17/100-uclibc-conf.patch create mode 100644 toolchain/binutils/patches/2.17/110-arm-eabi-conf.patch create mode 100644 toolchain/binutils/patches/2.17/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/2.17/300-006_better_file_error.patch create mode 100644 toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch create mode 100644 toolchain/binutils/patches/2.17/702-binutils-skip-comments.patch create mode 100644 toolchain/binutils/patches/400-mips-ELF_MAXPAGESIZE-4k.patch create mode 100644 toolchain/gcc/Config.in create mode 100644 toolchain/gcc/Config.version create mode 100644 toolchain/gcc/Makefile create mode 100644 toolchain/gcc/patches/3.4.4/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/3.4.4/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/3.4.4/300-libstdc++-pic.patch create mode 100644 toolchain/gcc/patches/3.4.4/601-gcc34-arm-ldm.patch create mode 100644 toolchain/gcc/patches/3.4.4/602-sdk-libstdc++-includes.patch create mode 100644 toolchain/gcc/patches/3.4.4/700-pr15068-fix.patch create mode 100644 toolchain/gcc/patches/3.4.4/800-arm-bigendian.patch create mode 100644 toolchain/gcc/patches/3.4.4/810-arm-bigendian-uclibc.patch create mode 100644 toolchain/gcc/patches/3.4.4/830-gcc-bug-num-22167.patch create mode 100644 toolchain/gcc/patches/3.4.4/arm-softfloat.patch.conditional create mode 100644 toolchain/gcc/patches/3.4.5/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/3.4.5/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/3.4.5/300-libstdc++-pic.patch create mode 100644 toolchain/gcc/patches/3.4.5/600-gcc34-arm-ldm-peephole.patch create mode 100644 toolchain/gcc/patches/3.4.5/601-gcc34-arm-ldm-peephole2.patch create mode 100644 toolchain/gcc/patches/3.4.5/601-gcc34-arm-ldm.patch create mode 100644 toolchain/gcc/patches/3.4.5/602-sdk-libstdc++-includes.patch create mode 100644 toolchain/gcc/patches/3.4.5/700-pr15068-fix.patch create mode 100644 toolchain/gcc/patches/3.4.5/71_all_sh-pr16665-fix.patch create mode 100644 toolchain/gcc/patches/3.4.5/72_all_sh-no-reorder-blocks.patch create mode 100644 toolchain/gcc/patches/3.4.5/73_all_sh-pr20617.patch create mode 100644 toolchain/gcc/patches/3.4.5/800-arm-bigendian.patch create mode 100644 toolchain/gcc/patches/3.4.5/800-powerpc-libc_stack_end-uclibc.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/001-non_mips.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/300-libstdc++-pic.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/601-gcc34-arm-ldm.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/602-sdk-libstdc++-includes.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/700-pr15068-fix.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/800-arm-bigendian.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/810-arm-bigendian-uclibc.patch create mode 100644 toolchain/gcc/patches/3.4.6-nonmips/arm-softfloat.patch.conditional create mode 100644 toolchain/gcc/patches/3.4.6/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/3.4.6/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/3.4.6/300-libstdc++-pic.patch create mode 100644 toolchain/gcc/patches/3.4.6/601-gcc34-arm-ldm.patch create mode 100644 toolchain/gcc/patches/3.4.6/602-sdk-libstdc++-includes.patch create mode 100644 toolchain/gcc/patches/3.4.6/700-pr15068-fix.patch create mode 100644 toolchain/gcc/patches/3.4.6/800-arm-bigendian.patch create mode 100644 toolchain/gcc/patches/3.4.6/810-arm-bigendian-uclibc.patch create mode 100644 toolchain/gcc/patches/3.4.6/arm-softfloat.patch.conditional create mode 100644 toolchain/gcc/patches/4.0.2/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/4.0.2/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/4.0.3/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/4.0.3/300-libstdc++-pic.patch create mode 100644 toolchain/gcc/patches/4.0.3/301-missing-execinfo_h.patch create mode 100644 toolchain/gcc/patches/4.0.3/302-c99-snprintf.patch create mode 100644 toolchain/gcc/patches/4.0.3/303-c99-complex-ugly-hack.patch create mode 100644 toolchain/gcc/patches/4.0.3/602-sdk-libstdc++-includes.patch create mode 100644 toolchain/gcc/patches/4.0.3/800-arm-bigendian.patch create mode 100644 toolchain/gcc/patches/4.1.0/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/4.1.0/110-arm-eabi.patch create mode 100644 toolchain/gcc/patches/4.1.0/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/4.1.0/300-libstdc++-pic.patch create mode 100644 toolchain/gcc/patches/4.1.0/301-missing-execinfo_h.patch create mode 100644 toolchain/gcc/patches/4.1.0/302-c99-snprintf.patch create mode 100644 toolchain/gcc/patches/4.1.0/303-c99-complex-ugly-hack.patch create mode 100644 toolchain/gcc/patches/4.1.0/602-sdk-libstdc++-includes.patch create mode 100644 toolchain/gcc/patches/4.1.0/740-sh-pr24836.patch create mode 100644 toolchain/gcc/patches/4.1.0/800-arm-bigendian.patch create mode 100644 toolchain/gcc/patches/4.1.1/100-uclibc-conf.patch create mode 100644 toolchain/gcc/patches/4.1.1/110-arm-eabi.patch create mode 100644 toolchain/gcc/patches/4.1.1/200-uclibc-locale.patch create mode 100644 toolchain/gcc/patches/4.1.1/300-libstdc++-pic.patch create mode 100644 toolchain/gcc/patches/4.1.1/301-missing-execinfo_h.patch create mode 100644 toolchain/gcc/patches/4.1.1/302-c99-snprintf.patch create mode 100644 toolchain/gcc/patches/4.1.1/303-c99-complex-ugly-hack.patch create mode 100644 toolchain/gcc/patches/4.1.1/304-index_macro.patch create mode 100644 toolchain/gcc/patches/4.1.1/740-sh-pr24836.patch create mode 100644 toolchain/gcc/patches/4.1.1/800-arm-bigendian.patch create mode 100644 toolchain/gcc/patches/4.1.1/900-c++_fixes.patch create mode 100644 toolchain/gdb/Config.in create mode 100644 toolchain/gdb/Makefile create mode 100644 toolchain/gdb/patches/100-uclibc-conf.patch create mode 100644 toolchain/gdb/patches/200-uclibc-readline-conf.patch create mode 100644 toolchain/gdb/patches/400-mips-coredump.patch create mode 100644 toolchain/gdb/patches/500-thread-timeout.patch create mode 100644 toolchain/gdb/patches/600-debian_10.selected-frame.patch create mode 100644 toolchain/gdb/patches/620-debian_static-thread-db.patch create mode 100644 toolchain/gdb/patches/630-debian_24.tracepoint-segv.patch create mode 100644 toolchain/gdb/patches/640-debian_dwarf2-frame-signal-unwinder.patch create mode 100644 toolchain/gdb/patches/650-debian_vsyscall-gdb-support.patch create mode 100644 toolchain/gdb/patches/660-debian_dwarf-cfa-restore.patch create mode 100644 toolchain/gdb/patches/680-debian_sim-destdir.patch create mode 100644 toolchain/gdb/patches/690-debian_member-field-symtab.patch create mode 100644 toolchain/gdb/patches/700-debian_cp-pass-by-reference.patch create mode 100644 toolchain/gdb/patches/710-debian_thread-db-multiple-libraries.patch create mode 100644 toolchain/gdb/patches/720-debian_static-threads-test.patch create mode 100644 toolchain/gdb/patches/730-debian_gdb-fix-tracefork-check.patch create mode 100644 toolchain/gdb/patches/740-debian_make-cv-type-crash.patch create mode 100644 toolchain/gdb/patches/750-debian_sparc-singlestep.patch create mode 100644 toolchain/gdb/patches/760-debian_vsyscall-bfd-close-result.patch create mode 100644 toolchain/gdb/patches/770-debian_vfork-done-spelling.patch create mode 100644 toolchain/gdb/patches/780-debian_gdbserver-rdynamic.patch create mode 100644 toolchain/gdb/patches/790-debian_dwarf2-cfi-warning.patch create mode 100644 toolchain/gdb/patches/800-debian_linux-use-underscore-exit.patch create mode 100644 toolchain/gdb/patches/810-debian_bfd-no-kylix-crash.patch create mode 100644 toolchain/gdb/patches/820-debian_disable-linux-fork-messages.patch create mode 100644 toolchain/kernel-headers/Makefile create mode 100644 toolchain/kernel-headers/files/config.arm create mode 100644 toolchain/kernel-headers/files/config.i386 create mode 100644 toolchain/kernel-headers/files/config.mips create mode 100644 toolchain/kernel-headers/files/config.ppc create mode 100644 toolchain/kernel-headers/patches/include.patch create mode 100644 toolchain/libnotimpl/Makefile create mode 100644 toolchain/libnotimpl/src/math.c create mode 100644 toolchain/uClibc/Makefile create mode 100644 toolchain/uClibc/config/armeb create mode 100644 toolchain/uClibc/config/i386 create mode 100644 toolchain/uClibc/config/mips create mode 100644 toolchain/uClibc/config/mipsel create mode 100644 toolchain/uClibc/config/powerpc create mode 100644 toolchain/uClibc/patches/100-signal_handler_crash_workaround.patch create mode 100644 toolchain/uClibc/patches/110-mips_pipe.patch create mode 100644 toolchain/uClibc/patches/120-more_standard_math.patch create mode 100644 toolchain/uClibc/patches/130-ppc_gcc4_fix.patch create mode 100644 toolchain/uClibc/patches/140-ipv6_missing_sockopts.patch create mode 100644 toolchain/uClibc/patches/150-portability.patch create mode 100644 tools/Makefile create mode 100644 tools/ext2fs/Makefile create mode 100644 tools/include/byteswap.h create mode 100644 tools/include/endian.h create mode 100644 tools/include/getline.h create mode 100644 tools/ipkg-utils/Makefile create mode 100644 tools/ipkg-utils/patches/100-build_clean.patch create mode 100644 tools/ipkg-utils/patches/110-buildpackage.patch create mode 100644 tools/ipkg-utils/patches/120-build_tar.patch create mode 100644 tools/ipkg-utils/patches/130-tar_wildcards.patch create mode 100644 tools/ipkg-utils/patches/140-portability.patch create mode 100644 tools/lzma/Makefile create mode 100644 tools/lzma/patches/100-lzma_zlib.patch create mode 100644 tools/mkimage/Makefile create mode 100644 tools/mkimage/src/crc32.c create mode 100644 tools/mkimage/src/image.h create mode 100644 tools/mkimage/src/mkimage.c create mode 100644 tools/mtd-utils/Makefile create mode 100644 tools/mtd-utils/patches/100-gcc4_fix.patch create mode 100644 tools/mtd-utils/patches/110-portability_fix.patch create mode 100644 tools/sed/Makefile create mode 100644 tools/squashfs/Makefile create mode 100644 tools/squashfs/patches/100-lzma.patch create mode 100644 tools/sstrip/Makefile create mode 100644 tools/sstrip/include/elf.h create mode 100644 tools/sstrip/src/sstrip.c diff --git a/BSDmakefile b/BSDmakefile new file mode 100644 index 0000000000..f6f0cadf46 --- /dev/null +++ b/BSDmakefile @@ -0,0 +1,2 @@ +world ${.TARGETS}: + @gmake $@ diff --git a/Config.in b/Config.in new file mode 100644 index 0000000000..74b3696242 --- /dev/null +++ b/Config.in @@ -0,0 +1,101 @@ +# + +mainmenu "OpenWrt Configuration" + +config HAVE_DOT_CONFIG + bool + default y + +source "target/Config.in" + +config ALL + bool "Select all packages by default" + default n + +menuconfig DEVEL + bool "Advanced configuration options (for developers)" + default n + select BUILDOPTS + select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN + +config BROKEN + bool "Show broken platforms / packages" if DEVEL + default n + +menuconfig BUILDOPTS + bool "Build Options" if DEVEL + +config AUTOREBUILD + bool + prompt "Automatic rebuild of packages" if BUILDOPTS + default y + help + Automatically rebuild packages when their files change + +config TAR_VERBOSITY + bool + prompt "Tar verbose" if BUILDOPTS + default n + +config JLEVEL + int + prompt "Number of jobs to run simultaneously" if BUILDOPTS + default "1" + help + Number of jobs to run simultanesouly + +config CCACHE + bool + prompt "Use ccache" if BUILDOPTS + default n + help + Compiler cache; see http://ccache.samba.org/ + +source "toolchain/Config.in" +source "target/sdk/Config.in" + +menu "Target Images" + config TARGET_ROOTFS_INITRAMFS + bool "ramdisk" + default n + depends LINUX_2_6 + help + Embed the rootfs into the kernel (initramfs) + + config TARGET_ROOTFS_JFFS2 + bool "jffs2" + default y if USES_JFFS2 + depends !TARGET_ROOTFS_INITRAMFS + help + Build a jffs2 root filesystem + + config TARGET_ROOTFS_SQUASHFS + bool "squashfs" + default y if USES_SQUASHFS + depends !TARGET_ROOTFS_INITRAMFS + help + Build a squashfs-lzma root filesystem + + config TARGET_ROOTFS_TGZ + bool "tgz" + default y if !USES_SQUASHFS && !USES_JFFS2 + depends !TARGET_ROOTFS_INITRAMFS + help + Build a compressed tar archive of the the root filesystem + + config TARGET_ROOTFS_EXT2FS + bool "ext2" + default y if !USES_SQUASHFS && !USES_JFFS2 + depends !TARGET_ROOTFS_INITRAMFS + help + Ext2 file system with some free space for uml images + +comment "Image Options" + +source "target/image/*/Config.in" + +endmenu + +source "target/linux/Config.in" +source ".config.in" + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000..d60c31a97a --- /dev/null +++ b/LICENSE @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..39ffb17fb5 --- /dev/null +++ b/Makefile @@ -0,0 +1,141 @@ +# Makefile for OpenWrt +# +# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006 by Felix Fietkau +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +RELEASE:=Kamikaze +#VERSION:=2.0 # uncomment for final release + +#-------------------------------------------------------------- +# Just run 'make menuconfig', configure stuff, then run 'make'. +# You shouldn't need to mess with anything beyond this point... +#-------------------------------------------------------------- + +all: world + +SHELL:=/usr/bin/env bash +export TOPDIR=${shell pwd} +include $(TOPDIR)/include/verbose.mk + +OPENWRTVERSION:=$(RELEASE) +ifneq ($(VERSION),) + OPENWRTVERSION:=$(VERSION) ($(OPENWRTVERSION)) +else + REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' ) + ifneq ($(REV),) + OPENWRTVERSION:=$(OPENWRTVERSION)/r$(REV) + endif +endif +export OPENWRTVERSION + +ifneq ($(shell ./scripts/timestamp.pl -p .pkginfo package Makefile),.pkginfo) + .pkginfo .config: FORCE +endif + +ifeq ($(FORCE),) + .config scripts/config/conf scripts/config/mconf: .prereq-build + world: .prereq-packages +endif + +.pkginfo: + @echo Collecting package info... + @-for dir in package/*/; do \ + echo Source-Makefile: $${dir}Makefile; \ + $(NO_TRACE_MAKE) --no-print-dir DUMP=1 -C $$dir || echo "ERROR: please fix $${dir}Makefile" >&2; \ + done > $@ + +pkginfo-clean: FORCE + -rm -f .pkginfo .config.in + +.config.in: .pkginfo + @./scripts/gen_menuconfig.pl < $< > $@ || rm -f $@ + +.config: ./scripts/config/conf .config.in + @[ -f .config ] || $(NO_TRACE_MAKE) menuconfig + @$< -D .config Config.in &> /dev/null + +scripts/config/mconf: + @$(MAKE) -C scripts/config all + +scripts/config/conf: + @$(MAKE) -C scripts/config conf + +config: scripts/config/conf .config.in FORCE + $< Config.in + +config-clean: FORCE + $(NO_TRACE_MAKE) -C scripts/config clean + +defconfig: scripts/config/conf .config.in FORCE + touch .config + $< -D .config Config.in + +oldconfig: scripts/config/conf .config.in FORCE + $< -o Config.in + +menuconfig: scripts/config/mconf .config.in FORCE + $< Config.in + +package/%: .pkginfo FORCE + $(MAKE) -C package $(patsubst package/%,%,$@) + +target/%: .pkginfo FORCE + $(MAKE) -C target $(patsubst target/%,%,$@) + +tools/%: FORCE + $(MAKE) -C tools $(patsubst tools/%,%,$@) + +toolchain/%: FORCE + $(MAKE) -C toolchain $(patsubst toolchain/%,%,$@) + +.prereq-build: include/prereq-build.mk + @$(NO_TRACE_MAKE) -s -f $(TOPDIR)/include/prereq-build.mk prereq 2>/dev/null || { \ + echo "Prerequisite check failed. Use FORCE=1 to override."; \ + rm -rf $(TOPDIR)/tmp; \ + false; \ + } + @rm -rf $(TOPDIR)/tmp + @touch $@ + +.prereq-packages: include/prereq.mk .pkginfo .config + @$(NO_TRACE_MAKE) -s -C package prereq 2>/dev/null || { \ + echo "Prerequisite check failed. Use FORCE=1 to override."; \ + false; \ + } + @rm -rf "$(TOPDIR)/tmp" + @touch $@ + +prereq: .prereq-build .prereq-packages FORCE + +download: .config FORCE + $(MAKE) tools/download + $(MAKE) toolchain/download + $(MAKE) package/download + $(MAKE) target/download + +world: .config FORCE + $(MAKE) tools/install + $(MAKE) toolchain/install + $(MAKE) target/compile + $(MAKE) package/compile + $(MAKE) package/install + $(MAKE) target/install + $(MAKE) package/index + +clean: FORCE + rm -rf build_* bin + +dirclean: clean + rm -rf staging_dir_* toolchain_build_* tool_build + +distclean: dirclean config-clean + rm -rf dl .*config* .pkg* .prereq + +.SILENT: clean dirclean distclean config-clean download world +FORCE: ; +.PHONY: FORCE +%: ; diff --git a/README b/README new file mode 100644 index 0000000000..2bba6fa6f6 --- /dev/null +++ b/README @@ -0,0 +1,24 @@ +This is the buildsystem for the OpenWrt Linux distribution + +Please use "make menuconfig" to configure your appreciated +configuration for the toolchain and firmware. + +You need to have installed gcc, binutils, patch, bzip2, flex, bison, +make, gettext, pkg-config, unzip, libz-dev and libc headers. + +Simply running 'make' will build your firmware. +It will download all sources, build the cross-compile toolchain, +the kernel and all choosen applications. + +You can use scripts/flash.sh for remotely updating your embedded system +via tftp. + +The buildroot system is documented in docs/buildroot-documentation.html. + +Building your own firmware you need to have access to a Linux system. + +Sunshine! + Your OpenWrt Project + http://openwrt.org + + diff --git a/docs/config.txt b/docs/config.txt new file mode 100644 index 0000000000..59881580b4 --- /dev/null +++ b/docs/config.txt @@ -0,0 +1,72 @@ + == Structure of the configuration files == + +The config files are divided into sections and options/values. + +Every section has a type, but does not necessarily have a name. +Every option has a name and a value and is assigned to the section +it was written under. + +Syntax: + +config [] # Section + option # Option + + +Every parameter needs to be a single string and is formatted exactly +like a parameter for a shell function. The same rules for Quoting and +special characters also apply, as it is parsed by the shell. + + + + == Parsing configuration files in custom scripts == + +To be able to load configuration files, you need to include the common +functions with: + +. /etc/functions.sh + +Then you can use config_load to load config files. The function +first checks for as absolute filename and falls back to loading +it from /etc/config (which is the most common way of using it). + +If you want to use special callbacks for sections and/or options, you +need to define the following shell functions before running config_load +(after including /etc/functions.sh): + +config_cb() { + local type="$1" + local name="$2" + # commands to be run for every section +} + +option_cb() { + # commands to be run for every option +} + +You can also alter option_cb from config_cb based on the section type. +This allows you to process every single config section based on its type +individually. + +config_cb is run every time a new section starts (before options are being +processed). You can access the last section through the CONFIG_SECTION +variable. Also an extra call to config_cb (without a new section) is generated +after config_load is done. +That allows you to process sections both before and after all options were +processed. + +You can access already processed options with the config_get command +Syntax: + +config_get