summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/bridge/bridge.mk2
-rw-r--r--openwrt/package/iptables/iptables.mk6
-rw-r--r--openwrt/package/linux/kernel-patches/001-Makefile.bz2bin0 -> 754 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/001-linux-2.4.patch.bz2bin428187 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/002-Rules_make.bz2bin0 -> 453 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/003-arch_mips_Makefile.bz2bin0 -> 716 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/003_kbuild_fixes.diff.bz2bin1091 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/004-arch_mips_brcm-boards.bz2bin0 -> 12727 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/004_386_emu.diff.bz2bin5292 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/005-arch_mips_config-shared_in.bz2bin0 -> 738 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/005_modularize_vesafb.diff.bz2bin710 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/006-arch_mips_defconfig-bcm947xx.bz2bin0 -> 3824 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/006_init_unshare.diff.bz2bin299 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/007-arch_mips_kernel_cpu-probe_c.bz2bin0 -> 1047 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/007-scsi_add_remove_single.bz2bin3988 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/008-arch_mips_kernel_entry_S-noop.bz2bin0 -> 304 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/008-ieee1394-fix.bz2bin390 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/009-always-inline.bz2bin468 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/009-arch_mips_kernel_head_S.bz2bin0 -> 438 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/010-arch_mips_kernel_proc_c.bz2bin0 -> 564 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/010-optimize-for-size.bz2bin1201 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/011-arch_mips_kernel_setup_c.bz2bin0 -> 385 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/012-arch_mips_kernel_traps_c.bz2bin0 -> 574 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/012-x86-check_gcc.bz2bin329 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/013-arch_mips_mm_Makefile.bz2bin0 -> 350 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/014-arch_mips_mm_c-bcm4710_c.bz2bin0 -> 3736 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/015-arch_mips_mm_loadmmu_c.bz2bin0 -> 395 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/015_cramfs_initrd.diff.bz2bin406 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/016-arch_mips_mm_tlbex-r4k_S.bz2bin0 -> 691 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/017-arch_mips_pci_Makefile.bz2bin0 -> 319 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/017-printk.bz2bin336 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/018-slab-loop-init.bz2bin268 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/018_drivers_char_mem_c.bz2bin0 -> 365 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/019-drivers_char_serial_c.bz2bin0 -> 684 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/020-drivers_mtd-jumbo.bz2bin0 -> 9300 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/021-drivers_net_Config_in-hnd.bz2bin0 -> 260 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/022-drivers_net_Makefile.bz2bin0 -> 524 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/023-drivers_net_et-hnd.bz2bin0 -> 818 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/024-drivers_net_et_4702-hnd.bz2bin0 -> 809 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/025-drivers_net_hnd-hnd.bz2bin0 -> 1639 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/026-drivers_net_wl-hnd.bz2bin0 -> 1119 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/027-drivers_net_port_based_qos.bz2bin0 -> 7202 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/028-drivers_pcmcia_jumbo.bz2bin0 -> 9769 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/029-include_asm-mips_asm_h.bz2bin0 -> 419 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/030-include_asm-mips_bcm4710_cache_h.bz2bin0 -> 1390 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/031-include_asm-mips_bootinfo_h.bz2bin0 -> 523 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/032-include_asm-mips_cache_h.bz2bin0 -> 354 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/033-include_asm-mips_cpu_h.bz2bin0 -> 650 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/034-include_asm-mips_mipsreg_h.bz2bin0 -> 386 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/035-include_asm-mips_r4kcache_h.bz2bin0 -> 391 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/036-include_asm-mips_serial_h.bz2bin0 -> 433 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/037-init_do_mounts_c.bz2bin0 -> 317 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/041-changeloop.patch.bz2bin2783 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/042-loopfixes.patch.bz2bin640 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/044-streaming_io.bz2bin1743 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/062-silence-blk-queue.bz2bin374 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/063-silence.kbd.patch.bz2bin506 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/064-shutup-md.bz2bin501 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/067-squashfs2.patch.bz2bin12850 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/076-nmap-freak.bz2bin1577 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/077-orinoco-0.13e.bz2bin7387 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/078-hostap.bz2bin113612 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/079-jiffies64.bz2bin4774 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/089-no-touch-makedep.bz2bin858 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/100-gcc3-mtune.bz2bin0 -> 448 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/100_VERSION.bz2bin235 -> 0 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/101-arch_mips_brcm-boards_bcm947xx_compressed.bz2bin0 -> 11127 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/102-mtdblock-ro-devfs.bz2bin0 -> 4644 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/103-net_core_dev-performance.bz2bin0 -> 852 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/104-drivers_net_diag-mbm.bz2bin0 -> 1862 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix.bz2bin0 -> 549 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix.bz2bin0 -> 447 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix.bz2bin0 -> 758 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix.bz2bin0 -> 512 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/204-net_sched_sch_api_c-wlfix.bz2bin0 -> 978 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/205-net_core_dev_c-wlfix.bz2bin0 -> 309 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/206-include_linux_skbuff_h-wlfix.bz2bin0 -> 589 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/300-squashfs2.1.bz2bin0 -> 13732 bytes
-rw-r--r--openwrt/package/linux/kernel-patches/400-bcm947xx-squashfs.bz2bin0 -> 1910 bytes
-rw-r--r--openwrt/package/linux/linux.config256
-rw-r--r--openwrt/package/linux/linux.mk72
81 files changed, 177 insertions, 159 deletions
diff --git a/openwrt/package/bridge/bridge.mk b/openwrt/package/bridge/bridge.mk
index 7865b6e..9cf9f33 100644
--- a/openwrt/package/bridge/bridge.mk
+++ b/openwrt/package/bridge/bridge.mk
@@ -36,7 +36,7 @@ $(BRIDGE_BUILD_DIR)/.configured: $(BRIDGE_BUILD_DIR)/.unpacked
--mandir=/usr/man \
--infodir=/usr/info \
$(DISABLE_NLS) \
- --with-linux=$(LINUX_DIR) \
+ --with-linux-headers=$(LINUX_DIR) \
);
touch $(BRIDGE_BUILD_DIR)/.configured
diff --git a/openwrt/package/iptables/iptables.mk b/openwrt/package/iptables/iptables.mk
index f053f1e..99cf14f 100644
--- a/openwrt/package/iptables/iptables.mk
+++ b/openwrt/package/iptables/iptables.mk
@@ -19,8 +19,8 @@ $(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked
# Allow patches. Needed for openwrt for instance.
toolchain/patch-kernel.sh $(IPTABLES_BUILD_DIR) package/iptables/ iptables-\*.patch
#
- $(SED) "s;\[ -f /usr/include/netinet/ip6.h \];grep -q '__UCLIBC_HAS_IPV6__ 1' \
- $(BUILD_DIR)/uClibc/include/bits/uClibc_config.h;" $(IPTABLES_BUILD_DIR)/Makefile
+ # $(SED) "s;\[ -f /usr/include/netinet/ip6.h \];grep -q '__UCLIBC_HAS_IPV6__ 1' \
+ # $(BUILD_DIR)/uClibc/include/bits/uClibc_config.h;" $(IPTABLES_BUILD_DIR)/Makefile
touch $(IPTABLES_BUILD_DIR)/.configured
$(IPTABLES_BUILD_DIR)/iptables: $(IPTABLES_BUILD_DIR)/.configured
@@ -39,7 +39,7 @@ $(TARGET_DIR)/usr/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables
$(STRIP) $(TARGET_DIR)/usr/lib/iptables/*.so
rm -rf $(TARGET_DIR)/usr/man
-iptables: kernel-headers $(TARGET_DIR)/usr/sbin/iptables
+iptables: $(TARGET_DIR)/usr/sbin/iptables
iptables-source: $(DL_DIR)/$(IPTABLES_SOURCE)
diff --git a/openwrt/package/linux/kernel-patches/001-Makefile.bz2 b/openwrt/package/linux/kernel-patches/001-Makefile.bz2
new file mode 100644
index 0000000..c7e2610
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/001-Makefile.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/001-linux-2.4.patch.bz2 b/openwrt/package/linux/kernel-patches/001-linux-2.4.patch.bz2
deleted file mode 100644
index 3e68dba..0000000
--- a/openwrt/package/linux/kernel-patches/001-linux-2.4.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/002-Rules_make.bz2 b/openwrt/package/linux/kernel-patches/002-Rules_make.bz2
new file mode 100644
index 0000000..43d24d1
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/002-Rules_make.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/003-arch_mips_Makefile.bz2 b/openwrt/package/linux/kernel-patches/003-arch_mips_Makefile.bz2
new file mode 100644
index 0000000..e354bde
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/003-arch_mips_Makefile.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/003_kbuild_fixes.diff.bz2 b/openwrt/package/linux/kernel-patches/003_kbuild_fixes.diff.bz2
deleted file mode 100644
index cc68c5e..0000000
--- a/openwrt/package/linux/kernel-patches/003_kbuild_fixes.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/004-arch_mips_brcm-boards.bz2 b/openwrt/package/linux/kernel-patches/004-arch_mips_brcm-boards.bz2
new file mode 100644
index 0000000..940d6f1
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/004-arch_mips_brcm-boards.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/004_386_emu.diff.bz2 b/openwrt/package/linux/kernel-patches/004_386_emu.diff.bz2
deleted file mode 100644
index bab1ac5..0000000
--- a/openwrt/package/linux/kernel-patches/004_386_emu.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/005-arch_mips_config-shared_in.bz2 b/openwrt/package/linux/kernel-patches/005-arch_mips_config-shared_in.bz2
new file mode 100644
index 0000000..2b6f5dc
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/005-arch_mips_config-shared_in.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/005_modularize_vesafb.diff.bz2 b/openwrt/package/linux/kernel-patches/005_modularize_vesafb.diff.bz2
deleted file mode 100644
index f8efc50..0000000
--- a/openwrt/package/linux/kernel-patches/005_modularize_vesafb.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/006-arch_mips_defconfig-bcm947xx.bz2 b/openwrt/package/linux/kernel-patches/006-arch_mips_defconfig-bcm947xx.bz2
new file mode 100644
index 0000000..c58dee9
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/006-arch_mips_defconfig-bcm947xx.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/006_init_unshare.diff.bz2 b/openwrt/package/linux/kernel-patches/006_init_unshare.diff.bz2
deleted file mode 100644
index 374282d..0000000
--- a/openwrt/package/linux/kernel-patches/006_init_unshare.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/007-arch_mips_kernel_cpu-probe_c.bz2 b/openwrt/package/linux/kernel-patches/007-arch_mips_kernel_cpu-probe_c.bz2
new file mode 100644
index 0000000..cdfc463
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/007-arch_mips_kernel_cpu-probe_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/007-scsi_add_remove_single.bz2 b/openwrt/package/linux/kernel-patches/007-scsi_add_remove_single.bz2
deleted file mode 100644
index aca7fbd..0000000
--- a/openwrt/package/linux/kernel-patches/007-scsi_add_remove_single.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/008-arch_mips_kernel_entry_S-noop.bz2 b/openwrt/package/linux/kernel-patches/008-arch_mips_kernel_entry_S-noop.bz2
new file mode 100644
index 0000000..6f7eb52
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/008-arch_mips_kernel_entry_S-noop.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/008-ieee1394-fix.bz2 b/openwrt/package/linux/kernel-patches/008-ieee1394-fix.bz2
deleted file mode 100644
index 7047e3d..0000000
--- a/openwrt/package/linux/kernel-patches/008-ieee1394-fix.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/009-always-inline.bz2 b/openwrt/package/linux/kernel-patches/009-always-inline.bz2
deleted file mode 100644
index e81c1a0..0000000
--- a/openwrt/package/linux/kernel-patches/009-always-inline.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/009-arch_mips_kernel_head_S.bz2 b/openwrt/package/linux/kernel-patches/009-arch_mips_kernel_head_S.bz2
new file mode 100644
index 0000000..e8c5a44
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/009-arch_mips_kernel_head_S.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/010-arch_mips_kernel_proc_c.bz2 b/openwrt/package/linux/kernel-patches/010-arch_mips_kernel_proc_c.bz2
new file mode 100644
index 0000000..f67762f
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/010-arch_mips_kernel_proc_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/010-optimize-for-size.bz2 b/openwrt/package/linux/kernel-patches/010-optimize-for-size.bz2
deleted file mode 100644
index 9523e47..0000000
--- a/openwrt/package/linux/kernel-patches/010-optimize-for-size.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/011-arch_mips_kernel_setup_c.bz2 b/openwrt/package/linux/kernel-patches/011-arch_mips_kernel_setup_c.bz2
new file mode 100644
index 0000000..8eb4a77
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/011-arch_mips_kernel_setup_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/012-arch_mips_kernel_traps_c.bz2 b/openwrt/package/linux/kernel-patches/012-arch_mips_kernel_traps_c.bz2
new file mode 100644
index 0000000..cac811f
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/012-arch_mips_kernel_traps_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/012-x86-check_gcc.bz2 b/openwrt/package/linux/kernel-patches/012-x86-check_gcc.bz2
deleted file mode 100644
index 1f76f96..0000000
--- a/openwrt/package/linux/kernel-patches/012-x86-check_gcc.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/013-arch_mips_mm_Makefile.bz2 b/openwrt/package/linux/kernel-patches/013-arch_mips_mm_Makefile.bz2
new file mode 100644
index 0000000..57c5f7f
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/013-arch_mips_mm_Makefile.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/014-arch_mips_mm_c-bcm4710_c.bz2 b/openwrt/package/linux/kernel-patches/014-arch_mips_mm_c-bcm4710_c.bz2
new file mode 100644
index 0000000..d16c8d7
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/014-arch_mips_mm_c-bcm4710_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/015-arch_mips_mm_loadmmu_c.bz2 b/openwrt/package/linux/kernel-patches/015-arch_mips_mm_loadmmu_c.bz2
new file mode 100644
index 0000000..ec2e208
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/015-arch_mips_mm_loadmmu_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/015_cramfs_initrd.diff.bz2 b/openwrt/package/linux/kernel-patches/015_cramfs_initrd.diff.bz2
deleted file mode 100644
index 6731cfa..0000000
--- a/openwrt/package/linux/kernel-patches/015_cramfs_initrd.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/016-arch_mips_mm_tlbex-r4k_S.bz2 b/openwrt/package/linux/kernel-patches/016-arch_mips_mm_tlbex-r4k_S.bz2
new file mode 100644
index 0000000..b47c950
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/016-arch_mips_mm_tlbex-r4k_S.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/017-arch_mips_pci_Makefile.bz2 b/openwrt/package/linux/kernel-patches/017-arch_mips_pci_Makefile.bz2
new file mode 100644
index 0000000..9911f6b
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/017-arch_mips_pci_Makefile.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/017-printk.bz2 b/openwrt/package/linux/kernel-patches/017-printk.bz2
deleted file mode 100644
index 7ffbd12..0000000
--- a/openwrt/package/linux/kernel-patches/017-printk.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/018-slab-loop-init.bz2 b/openwrt/package/linux/kernel-patches/018-slab-loop-init.bz2
deleted file mode 100644
index 308e576..0000000
--- a/openwrt/package/linux/kernel-patches/018-slab-loop-init.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/018_drivers_char_mem_c.bz2 b/openwrt/package/linux/kernel-patches/018_drivers_char_mem_c.bz2
new file mode 100644
index 0000000..9ed8ae2
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/018_drivers_char_mem_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/019-drivers_char_serial_c.bz2 b/openwrt/package/linux/kernel-patches/019-drivers_char_serial_c.bz2
new file mode 100644
index 0000000..2e79bba
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/019-drivers_char_serial_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/020-drivers_mtd-jumbo.bz2 b/openwrt/package/linux/kernel-patches/020-drivers_mtd-jumbo.bz2
new file mode 100644
index 0000000..e7774ba
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/020-drivers_mtd-jumbo.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/021-drivers_net_Config_in-hnd.bz2 b/openwrt/package/linux/kernel-patches/021-drivers_net_Config_in-hnd.bz2
new file mode 100644
index 0000000..b59c5b7
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/021-drivers_net_Config_in-hnd.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/022-drivers_net_Makefile.bz2 b/openwrt/package/linux/kernel-patches/022-drivers_net_Makefile.bz2
new file mode 100644
index 0000000..0f75f2c
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/022-drivers_net_Makefile.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/023-drivers_net_et-hnd.bz2 b/openwrt/package/linux/kernel-patches/023-drivers_net_et-hnd.bz2
new file mode 100644
index 0000000..c5f87bd
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/023-drivers_net_et-hnd.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/024-drivers_net_et_4702-hnd.bz2 b/openwrt/package/linux/kernel-patches/024-drivers_net_et_4702-hnd.bz2
new file mode 100644
index 0000000..7a0e62f
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/024-drivers_net_et_4702-hnd.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/025-drivers_net_hnd-hnd.bz2 b/openwrt/package/linux/kernel-patches/025-drivers_net_hnd-hnd.bz2
new file mode 100644
index 0000000..8aa96b9
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/025-drivers_net_hnd-hnd.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/026-drivers_net_wl-hnd.bz2 b/openwrt/package/linux/kernel-patches/026-drivers_net_wl-hnd.bz2
new file mode 100644
index 0000000..65d0494
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/026-drivers_net_wl-hnd.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/027-drivers_net_port_based_qos.bz2 b/openwrt/package/linux/kernel-patches/027-drivers_net_port_based_qos.bz2
new file mode 100644
index 0000000..990406f
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/027-drivers_net_port_based_qos.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/028-drivers_pcmcia_jumbo.bz2 b/openwrt/package/linux/kernel-patches/028-drivers_pcmcia_jumbo.bz2
new file mode 100644
index 0000000..f822102
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/028-drivers_pcmcia_jumbo.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/029-include_asm-mips_asm_h.bz2 b/openwrt/package/linux/kernel-patches/029-include_asm-mips_asm_h.bz2
new file mode 100644
index 0000000..0a21c69
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/029-include_asm-mips_asm_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/030-include_asm-mips_bcm4710_cache_h.bz2 b/openwrt/package/linux/kernel-patches/030-include_asm-mips_bcm4710_cache_h.bz2
new file mode 100644
index 0000000..cafb3f4
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/030-include_asm-mips_bcm4710_cache_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/031-include_asm-mips_bootinfo_h.bz2 b/openwrt/package/linux/kernel-patches/031-include_asm-mips_bootinfo_h.bz2
new file mode 100644
index 0000000..5c76ec9
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/031-include_asm-mips_bootinfo_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/032-include_asm-mips_cache_h.bz2 b/openwrt/package/linux/kernel-patches/032-include_asm-mips_cache_h.bz2
new file mode 100644
index 0000000..5765ca2
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/032-include_asm-mips_cache_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/033-include_asm-mips_cpu_h.bz2 b/openwrt/package/linux/kernel-patches/033-include_asm-mips_cpu_h.bz2
new file mode 100644
index 0000000..f012abf
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/033-include_asm-mips_cpu_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/034-include_asm-mips_mipsreg_h.bz2 b/openwrt/package/linux/kernel-patches/034-include_asm-mips_mipsreg_h.bz2
new file mode 100644
index 0000000..822d384
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/034-include_asm-mips_mipsreg_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/035-include_asm-mips_r4kcache_h.bz2 b/openwrt/package/linux/kernel-patches/035-include_asm-mips_r4kcache_h.bz2
new file mode 100644
index 0000000..1a05883
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/035-include_asm-mips_r4kcache_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/036-include_asm-mips_serial_h.bz2 b/openwrt/package/linux/kernel-patches/036-include_asm-mips_serial_h.bz2
new file mode 100644
index 0000000..ae7c8e1
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/036-include_asm-mips_serial_h.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/037-init_do_mounts_c.bz2 b/openwrt/package/linux/kernel-patches/037-init_do_mounts_c.bz2
new file mode 100644
index 0000000..92657a5
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/037-init_do_mounts_c.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/041-changeloop.patch.bz2 b/openwrt/package/linux/kernel-patches/041-changeloop.patch.bz2
deleted file mode 100644
index d822e8a..0000000
--- a/openwrt/package/linux/kernel-patches/041-changeloop.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/042-loopfixes.patch.bz2 b/openwrt/package/linux/kernel-patches/042-loopfixes.patch.bz2
deleted file mode 100644
index 456ee61..0000000
--- a/openwrt/package/linux/kernel-patches/042-loopfixes.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/044-streaming_io.bz2 b/openwrt/package/linux/kernel-patches/044-streaming_io.bz2
deleted file mode 100644
index fc75024..0000000
--- a/openwrt/package/linux/kernel-patches/044-streaming_io.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/062-silence-blk-queue.bz2 b/openwrt/package/linux/kernel-patches/062-silence-blk-queue.bz2
deleted file mode 100644
index 85a21e5..0000000
--- a/openwrt/package/linux/kernel-patches/062-silence-blk-queue.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/063-silence.kbd.patch.bz2 b/openwrt/package/linux/kernel-patches/063-silence.kbd.patch.bz2
deleted file mode 100644
index 472eb28..0000000
--- a/openwrt/package/linux/kernel-patches/063-silence.kbd.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/064-shutup-md.bz2 b/openwrt/package/linux/kernel-patches/064-shutup-md.bz2
deleted file mode 100644
index 89ab47a..0000000
--- a/openwrt/package/linux/kernel-patches/064-shutup-md.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/067-squashfs2.patch.bz2 b/openwrt/package/linux/kernel-patches/067-squashfs2.patch.bz2
deleted file mode 100644
index 2772d73..0000000
--- a/openwrt/package/linux/kernel-patches/067-squashfs2.patch.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/076-nmap-freak.bz2 b/openwrt/package/linux/kernel-patches/076-nmap-freak.bz2
deleted file mode 100644
index 4bd53a8..0000000
--- a/openwrt/package/linux/kernel-patches/076-nmap-freak.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/077-orinoco-0.13e.bz2 b/openwrt/package/linux/kernel-patches/077-orinoco-0.13e.bz2
deleted file mode 100644
index 61fe9bb..0000000
--- a/openwrt/package/linux/kernel-patches/077-orinoco-0.13e.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/078-hostap.bz2 b/openwrt/package/linux/kernel-patches/078-hostap.bz2
deleted file mode 100644
index 3a6f819..0000000
--- a/openwrt/package/linux/kernel-patches/078-hostap.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/079-jiffies64.bz2 b/openwrt/package/linux/kernel-patches/079-jiffies64.bz2
deleted file mode 100644
index 498f1fb..0000000
--- a/openwrt/package/linux/kernel-patches/079-jiffies64.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/089-no-touch-makedep.bz2 b/openwrt/package/linux/kernel-patches/089-no-touch-makedep.bz2
deleted file mode 100644
index df7f4a5..0000000
--- a/openwrt/package/linux/kernel-patches/089-no-touch-makedep.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/100-gcc3-mtune.bz2 b/openwrt/package/linux/kernel-patches/100-gcc3-mtune.bz2
new file mode 100644
index 0000000..42918fa
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/100-gcc3-mtune.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/100_VERSION.bz2 b/openwrt/package/linux/kernel-patches/100_VERSION.bz2
deleted file mode 100644
index cd4ee5d..0000000
--- a/openwrt/package/linux/kernel-patches/100_VERSION.bz2
+++ /dev/null
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/101-arch_mips_brcm-boards_bcm947xx_compressed.bz2 b/openwrt/package/linux/kernel-patches/101-arch_mips_brcm-boards_bcm947xx_compressed.bz2
new file mode 100644
index 0000000..e61c93e
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/101-arch_mips_brcm-boards_bcm947xx_compressed.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/102-mtdblock-ro-devfs.bz2 b/openwrt/package/linux/kernel-patches/102-mtdblock-ro-devfs.bz2
new file mode 100644
index 0000000..ba01311
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/102-mtdblock-ro-devfs.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/103-net_core_dev-performance.bz2 b/openwrt/package/linux/kernel-patches/103-net_core_dev-performance.bz2
new file mode 100644
index 0000000..b89f39c
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/103-net_core_dev-performance.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/104-drivers_net_diag-mbm.bz2 b/openwrt/package/linux/kernel-patches/104-drivers_net_diag-mbm.bz2
new file mode 100644
index 0000000..6b23c68
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/104-drivers_net_diag-mbm.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix.bz2 b/openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix.bz2
new file mode 100644
index 0000000..c5c0167
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/200-include_linux_netdevice_h-wlfix.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix.bz2 b/openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix.bz2
new file mode 100644
index 0000000..73195c0
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/201-net_core_Makefile-wlfix.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix.bz2 b/openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix.bz2
new file mode 100644
index 0000000..4186895
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix.bz2 b/openwrt/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix.bz2
new file mode 100644
index 0000000..b51edd2
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/204-net_sched_sch_api_c-wlfix.bz2 b/openwrt/package/linux/kernel-patches/204-net_sched_sch_api_c-wlfix.bz2
new file mode 100644
index 0000000..8c8a943
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/204-net_sched_sch_api_c-wlfix.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/205-net_core_dev_c-wlfix.bz2 b/openwrt/package/linux/kernel-patches/205-net_core_dev_c-wlfix.bz2
new file mode 100644
index 0000000..6424f31
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/205-net_core_dev_c-wlfix.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/206-include_linux_skbuff_h-wlfix.bz2 b/openwrt/package/linux/kernel-patches/206-include_linux_skbuff_h-wlfix.bz2
new file mode 100644
index 0000000..e3b751e
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/206-include_linux_skbuff_h-wlfix.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/300-squashfs2.1.bz2 b/openwrt/package/linux/kernel-patches/300-squashfs2.1.bz2
new file mode 100644
index 0000000..caba892
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/300-squashfs2.1.bz2
Binary files differ
diff --git a/openwrt/package/linux/kernel-patches/400-bcm947xx-squashfs.bz2 b/openwrt/package/linux/kernel-patches/400-bcm947xx-squashfs.bz2
new file mode 100644
index 0000000..87802f9
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/400-bcm947xx-squashfs.bz2
Binary files differ
diff --git a/openwrt/package/linux/linux.config b/openwrt/package/linux/linux.config
index 60424ce..ed44c23 100644
--- a/openwrt/package/linux/linux.config
+++ b/openwrt/package/linux/linux.config
@@ -1,5 +1,5 @@
#
-# Automatically generated by make menuconfig: don't edit
+# Automatically generated make config: don't edit
#
CONFIG_MIPS=y
CONFIG_MIPS32=y
@@ -21,12 +21,23 @@ CONFIG_MODULES=y
# Machine selection
#
# CONFIG_ACER_PICA_61 is not set
+# CONFIG_MIPS_BOSPORUS is not set
+# CONFIG_MIPS_FICMMP is not set
+# CONFIG_MIPS_MIRAGE is not set
# CONFIG_MIPS_DB1000 is not set
# CONFIG_MIPS_DB1100 is not set
# CONFIG_MIPS_DB1500 is not set
+# CONFIG_MIPS_DB1550 is not set
+# CONFIG_MIPS_DB1200 is not set
# CONFIG_MIPS_PB1000 is not set
# CONFIG_MIPS_PB1100 is not set
# CONFIG_MIPS_PB1500 is not set
+# CONFIG_MIPS_PB1550 is not set
+# CONFIG_MIPS_PB1200 is not set
+# CONFIG_MIPS_HYDROGEN3 is not set
+# CONFIG_MIPS_XXS1500 is not set
+# CONFIG_MIPS_MTX1 is not set
+# CONFIG_COGENT_CSB250 is not set
# CONFIG_BAGET_MIPS is not set
# CONFIG_CASIO_E55 is not set
# CONFIG_MIPS_COBALT is not set
@@ -44,6 +55,11 @@ CONFIG_MODULES=y
# CONFIG_MIPS_SEAD is not set
# CONFIG_MOMENCO_OCELOT is not set
# CONFIG_MOMENCO_OCELOT_G is not set
+# CONFIG_MOMENCO_OCELOT_C is not set
+# CONFIG_MOMENCO_JAGUAR_ATX is not set
+# CONFIG_PMC_BIG_SUR is not set
+# CONFIG_PMC_STRETCH is not set
+# CONFIG_PMC_YOSEMITE is not set
# CONFIG_DDB5074 is not set
# CONFIG_DDB5476 is not set
# CONFIG_DDB5477 is not set
@@ -53,7 +69,6 @@ CONFIG_MODULES=y
# CONFIG_NINO is not set
# CONFIG_SGI_IP22 is not set
# CONFIG_SGI_IP27 is not set
-# CONFIG_SGI_IP32 is not set
# CONFIG_SIBYTE_SB1xxx_SOC is not set
CONFIG_MIPS_BRCM=y
CONFIG_BCM947XX=y
@@ -62,7 +77,10 @@ CONFIG_BCM4310=y
CONFIG_BCM4704=y
# CONFIG_BCM5365 is not set
# CONFIG_SNI_RM200_PCI is not set
+# CONFIG_TANBAC_TB0226 is not set
+# CONFIG_TANBAC_TB0229 is not set
# CONFIG_TOSHIBA_JMR3927 is not set
+# CONFIG_TOSHIBA_RBTX4927 is not set
# CONFIG_VICTOR_MPC30X is not set
# CONFIG_ZAO_CAPCELLA is not set
# CONFIG_HIGHMEM is not set
@@ -94,7 +112,11 @@ CONFIG_CPU_MIPS32=y
# CONFIG_CPU_R8000 is not set
# CONFIG_CPU_R10000 is not set
# CONFIG_CPU_RM7000 is not set
+# CONFIG_CPU_RM9000 is not set
# CONFIG_CPU_SB1 is not set
+CONFIG_PAGE_SIZE_4KB=y
+# CONFIG_PAGE_SIZE_16KB is not set
+# CONFIG_PAGE_SIZE_64KB is not set
CONFIG_CPU_HAS_PREFETCH=y
# CONFIG_VTAG_ICACHE is not set
# CONFIG_64BIT_PHYS_ADDR is not set
@@ -108,31 +130,22 @@ CONFIG_CPU_HAS_SYNC=y
# General setup
#
CONFIG_CPU_LITTLE_ENDIAN=y
+# CONFIG_BUILD_ELF64 is not set
CONFIG_NET=y
+CONFIG_PCI=y
+# CONFIG_PCI_NEW is not set
+CONFIG_PCI_AUTO=y
# CONFIG_PCI_NAMES is not set
# CONFIG_ISA is not set
-# CONFIG_EISA is not set
# CONFIG_TC is not set
# CONFIG_MCA is not set
# CONFIG_SBUS is not set
-CONFIG_HOTPLUG=y
-
-#
-# PCMCIA/CardBus support
-#
+# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
-
-#
-# PCI Hotplug Support
-#
# CONFIG_HOTPLUG_PCI is not set
-# CONFIG_HOTPLUG_PCI_COMPAQ is not set
-# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
-# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
-# CONFIG_PRINT_SYSCALLS is not set
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
@@ -142,7 +155,8 @@ CONFIG_BINFMT_ELF=y
# CONFIG_MIPS32_N32 is not set
# CONFIG_BINFMT_ELF32 is not set
# CONFIG_BINFMT_MISC is not set
-# CONFIG_PM is not set
+# CONFIG_OOM_KILLER is not set
+# CONFIG_CMDLINE_BOOL is not set
#
# Memory Technology Devices (MTD)
@@ -152,6 +166,11 @@ CONFIG_MTD=y
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_CONCAT is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
+# CONFIG_MTD_CMDLINE_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
CONFIG_MTD_CHAR=y
# CONFIG_MTD_BLOCK is not set
CONFIG_MTD_BLOCK_RO=y
@@ -172,11 +191,14 @@ CONFIG_MTD_CFI_GEOMETRY=y
# CONFIG_MTD_CFI_B1 is not set
CONFIG_MTD_CFI_B2=y
# CONFIG_MTD_CFI_B4 is not set
+# CONFIG_MTD_CFI_B8 is not set
CONFIG_MTD_CFI_I1=y
# CONFIG_MTD_CFI_I2 is not set
# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=y
CONFIG_MTD_CFI_AMDSTD=y
+# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_SSTSTD=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
@@ -194,10 +216,18 @@ CONFIG_MTD_BCM947XX=y
# CONFIG_MTD_PB1000 is not set
# CONFIG_MTD_PB1500 is not set
# CONFIG_MTD_PB1100 is not set
+# CONFIG_MTD_BOSPORUS is not set
+# CONFIG_MTD_XXS1500 is not set
+# CONFIG_MTD_MTX1 is not set
+# CONFIG_MTD_DB1X00 is not set
+# CONFIG_MTD_PB1550 is not set
+# CONFIG_MTD_HYDROGEN3 is not set
+# CONFIG_MTD_MIRAGE is not set
# CONFIG_MTD_CSTM_MIPS_IXX is not set
# CONFIG_MTD_OCELOT is not set
# CONFIG_MTD_LASAT is not set
# CONFIG_MTD_PCI is not set
+# CONFIG_MTD_PCMCIA is not set
#
# Self-contained MTD device drivers
@@ -207,6 +237,10 @@ CONFIG_MTD_SFLASH=y
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLKMTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
# CONFIG_MTD_DOC1000 is not set
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
@@ -231,16 +265,16 @@ CONFIG_MTD_SFLASH=y
#
# Block devices
#
-# CONFIG_BLK_DEV_MSYS is not set
-# CONFIG_NOROOT is not set
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_CISS_SCSI_TAPE is not set
+# CONFIG_CISS_MONITOR_THREAD is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
+# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_RAM is not set
@@ -269,7 +303,6 @@ CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
-CONFIG_NETSWAP=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ADVANCED_ROUTER=y
@@ -279,7 +312,6 @@ CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
# CONFIG_IP_ROUTE_VERBOSE is not set
-# CONFIG_IP_ROUTE_LARGE_TABLES is not set
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
@@ -292,76 +324,38 @@ CONFIG_NET_IPGRE=m
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
-CONFIG_IP_NF_H323=y
-CONFIG_IP_NF_CONNTRACK_MARK=y
# CONFIG_IP_NF_AMANDA is not set
CONFIG_IP_NF_TFTP=y
CONFIG_IP_NF_IRC=y
-CONFIG_IP_NF_CT_PROTO_GRE=y
-CONFIG_IP_NF_PPTP=y
-CONFIG_IP_NF_MMS=y
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_LIMIT=m
-CONFIG_IP_NF_SET=m
-CONFIG_IP_NF_SET_MAX=256
-CONFIG_IP_NF_SET_IPMAP=m
-CONFIG_IP_NF_SET_PORTMAP=m
-CONFIG_IP_NF_SET_MACIPMAP=m
-CONFIG_IP_NF_SET_IPHASH=m
-CONFIG_IP_NF_MATCH_QUOTA=m
-CONFIG_IP_NF_POOL=m
-CONFIG_IP_POOL_STATISTICS=y
-CONFIG_IP_NF_MATCH_IPRANGE=m
-CONFIG_IP_NF_MATCH_DSTLIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_MATCH_TOS=m
-CONFIG_IP_NF_MATCH_CONDITION=m
-# CONFIG_IP_NF_MATCH_RANDOM is not set
-CONFIG_IP_NF_MATCH_PSD=m
-# CONFIG_IP_NF_MATCH_OSF is not set
-# CONFIG_IP_NF_MATCH_NTH is not set
-CONFIG_IP_NF_MATCH_IPV4OPTIONS=m
-# CONFIG_IP_NF_MATCH_FUZZY is not set
-CONFIG_IP_NF_MATCH_RECENT=m
+# CONFIG_IP_NF_MATCH_RECENT is not set
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
-# CONFIG_IP_NF_MATCH_U32 is not set
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=y
-# CONFIG_IP_NF_MATCH_REALM is not set
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=y
-CONFIG_IP_NF_MATCH_CONNMARK=m
-CONFIG_IP_NF_MATCH_CONNLIMIT=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
-CONFIG_IP_NF_MATCH_STRING=m
# CONFIG_IP_NF_MATCH_OWNER is not set
-CONFIG_IP_NF_MATCH_PHYSDEV=m
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
-CONFIG_IP_NF_TARGET_NETLINK=m
-CONFIG_IP_NF_TARGET_IPV4OPTSSTRIP=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
-CONFIG_IP_NF_NAT_H323=y
-# CONFIG_IP_NF_TARGET_SAME is not set
-# CONFIG_IP_NF_TARGET_NETMAP is not set
-CONFIG_IP_NF_NAT_PPTP=y
-CONFIG_IP_NF_NAT_PROTO_GRE=y
-# CONFIG_IP_NF_NAT_LOCAL is not set
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=y
-CONFIG_IP_NF_NAT_MMS=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_NAT_TFTP=y
CONFIG_IP_NF_MANGLE=y
@@ -369,17 +363,17 @@ CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=y
-CONFIG_IP_NF_TARGET_IPMARK=m
-CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_TARGET_LOG=y
-CONFIG_IP_NF_TARGET_CONNMARK=m
-CONFIG_IP_NF_TARGET_TTL=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=y
-# CONFIG_IP_NF_RAW is not set
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
-CONFIG_IP_NF_ARP_MANGLE=m
+# CONFIG_IP_NF_ARP_MANGLE is not set
+
+#
+# IP: Virtual Server Configuration
+#
+# CONFIG_IP_VS is not set
CONFIG_IPV6=m
#
@@ -389,9 +383,6 @@ CONFIG_IP6_NF_QUEUE=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_LIMIT=m
CONFIG_IP6_NF_MATCH_MAC=m
-# CONFIG_IP6_NF_MATCH_RANDOM is not set
-# CONFIG_IP6_NF_MATCH_NTH is not set
-# CONFIG_IP6_NF_MATCH_FUZZY is not set
# CONFIG_IP6_NF_MATCH_RT is not set
# CONFIG_IP6_NF_MATCH_OPTS is not set
# CONFIG_IP6_NF_MATCH_FRAG is not set
@@ -404,42 +395,25 @@ CONFIG_IP6_NF_MATCH_MARK=m
CONFIG_IP6_NF_MATCH_LENGTH=m
CONFIG_IP6_NF_MATCH_EUI64=m
CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-# CONFIG_IP6_NF_TARGET_HL is not set
CONFIG_IP6_NF_TARGET_LOG=m
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_TARGET_MARK=m
# CONFIG_KHTTPD is not set
+
+#
+# SCTP Configuration (EXPERIMENTAL)
+#
+# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
CONFIG_VLAN_8021Q=y
-# CONFIG_IPX is not set
-# CONFIG_ATALK is not set
#
-# Appletalk devices
+#
#
-# CONFIG_DEV_APPLETALK is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
# CONFIG_DECNET is not set
CONFIG_BRIDGE=y
-CONFIG_BRIDGE_NF_EBTABLES=m
-CONFIG_BRIDGE_EBT_T_FILTER=m
-CONFIG_BRIDGE_EBT_T_NAT=m
-CONFIG_BRIDGE_EBT_BROUTE=m
-CONFIG_BRIDGE_EBT_LOG=m
-CONFIG_BRIDGE_EBT_IPF=m
-CONFIG_BRIDGE_EBT_ARPF=m
-CONFIG_BRIDGE_EBT_AMONG=m
-CONFIG_BRIDGE_EBT_LIMIT=m
-CONFIG_BRIDGE_EBT_VLANF=m
-CONFIG_BRIDGE_EBT_802_3=m
-CONFIG_BRIDGE_EBT_PKTTYPE=m
-CONFIG_BRIDGE_EBT_STP=m
-CONFIG_BRIDGE_EBT_MARKF=m
-CONFIG_BRIDGE_EBT_ARPREPLY=m
-CONFIG_BRIDGE_EBT_SNAT=m
-CONFIG_BRIDGE_EBT_DNAT=m
-CONFIG_BRIDGE_EBT_REDIRECT=m
-CONFIG_BRIDGE_EBT_MARK_T=m
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
@@ -456,12 +430,14 @@ CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_CSZ=m
+# CONFIG_NET_SCH_HFSC is not set
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
+# CONFIG_NET_SCH_NETEM is not set
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
@@ -492,7 +468,6 @@ CONFIG_NET_CLS_POLICE=y
# ATA/IDE/MFM/RLL support
#
# CONFIG_IDE is not set
-# CONFIG_BLK_DEV_IDE_MODES is not set
# CONFIG_BLK_DEV_HD is not set
#
@@ -501,6 +476,20 @@ CONFIG_NET_CLS_POLICE=y
# CONFIG_SCSI is not set
#
+# Fusion MPT device support
+#
+# CONFIG_FUSION is not set
+# CONFIG_FUSION_BOOT is not set
+# CONFIG_FUSION_ISENSE is not set
+# CONFIG_FUSION_CTL is not set
+# CONFIG_FUSION_LAN is not set
+
+#
+# IEEE 1394 (FireWire) support (EXPERIMENTAL)
+#
+# CONFIG_IEEE1394 is not set
+
+#
# I2O device support
#
# CONFIG_I2O is not set
@@ -526,6 +515,7 @@ CONFIG_ET_47XX=y
CONFIG_WL=m
CONFIG_WL_AP=y
CONFIG_WL_STA=y
+# CONFIG_WL_OID is not set
#
# ARCnet devices
@@ -565,6 +555,7 @@ CONFIG_NET_ETHERNET=y
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
+# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
@@ -577,25 +568,13 @@ CONFIG_PPP_ASYNC=m
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
-CONFIG_PPP_MPPE=m
CONFIG_PPPOE=m
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
-CONFIG_NET_RADIO=y
-# CONFIG_STRIP is not set
-# CONFIG_WAVELAN is not set
-# CONFIG_ARLAN is not set
-# CONFIG_AIRONET4500 is not set
-# CONFIG_AIRONET4500_NONCS is not set
-# CONFIG_AIRONET4500_PROC is not set
-# CONFIG_AIRO is not set
-# CONFIG_HERMES is not set
-# CONFIG_PLX_HERMES is not set
-# CONFIG_PCI_HERMES is not set
-CONFIG_NET_WIRELESS=y
+# CONFIG_NET_RADIO is not set
#
# Token Ring devices
@@ -633,6 +612,7 @@ CONFIG_SHAPER=m
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_UINPUT is not set
#
# Character devices
@@ -642,6 +622,7 @@ CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
+# CONFIG_MIPS_HYDROGEN3_BUTTONS is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=128
@@ -660,7 +641,20 @@ CONFIG_UNIX98_PTY_COUNT=128
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set
+
+#
+# Input core support is needed for gameports
+#
+
+#
+# Input core support is needed for joysticks
+#
# CONFIG_QIC02_TAPE is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_IPMI_PANIC_EVENT is not set
+# CONFIG_IPMI_DEVICE_INTERFACE is not set
+# CONFIG_IPMI_KCS is not set
+# CONFIG_IPMI_WATCHDOG is not set
#
# Watchdog Cards
@@ -669,6 +663,7 @@ CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_NOWAYOUT=y
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
+# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_SC520_WDT is not set
# CONFIG_PCWATCHDOG is not set
@@ -679,13 +674,14 @@ CONFIG_WATCHDOG_NOWAYOUT=y
# CONFIG_MIXCOMWD is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SC1200_WDT is not set
+# CONFIG_SCx200_WDT is not set
CONFIG_SOFT_WATCHDOG=y
# CONFIG_W83877F_WDT is not set
# CONFIG_WDT is not set
# CONFIG_WDTPCI is not set
# CONFIG_MACHZ_WDT is not set
-# CONFIG_INDYDOG is not set
-# CONFIG_AMD7XX_TCO is not set
+# CONFIG_SCx200 is not set
+# CONFIG_SCx200_GPIO is not set
# CONFIG_AMD_PM768 is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
@@ -698,13 +694,17 @@ CONFIG_SOFT_WATCHDOG=y
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
+
+#
+# Direct Rendering Manager (XFree86 DRI support)
+#
# CONFIG_DRM is not set
#
# File systems
#
-CONFIG_BLKDEV_SWAP=m
# CONFIG_QUOTA is not set
+# CONFIG_QFMT_V2 is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_REISERFS_FS is not set
@@ -714,6 +714,7 @@ CONFIG_BLKDEV_SWAP=m
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
@@ -728,12 +729,7 @@ CONFIG_BLKDEV_SWAP=m
# CONFIG_JFFS_FS is not set
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
-# CONFIG_JFFS2_BBC_ARMLIB is not set
-CONFIG_JFFS2_BBC_LZO=y
-CONFIG_JFFS2_BBC_LZARI=y
-CONFIG_JFFS2_BBC_LZHD=y
-CONFIG_JFFS2_BBC_LZSS=y
-# CONFIG_CRAMFS is not set
+CONFIG_CRAMFS=y
CONFIG_SQUASHFS=y
# CONFIG_TMPFS is not set
CONFIG_RAMFS=y
@@ -762,6 +758,11 @@ CONFIG_DEVFS_MOUNT=y
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
+# CONFIG_XFS_FS is not set
+# CONFIG_XFS_QUOTA is not set
+# CONFIG_XFS_RT is not set
+# CONFIG_XFS_TRACE is not set
+# CONFIG_XFS_DEBUG is not set
#
# Network File Systems
@@ -770,9 +771,8 @@ CONFIG_DEVFS_MOUNT=y
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
+# CONFIG_NFS_DIRECTIO is not set
# CONFIG_ROOT_NFS is not set
-CONFIG_SWAP_VIA_NFS=m
-CONFIG_NETSWAP=y
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
@@ -838,16 +838,22 @@ CONFIG_PARTITION_ADVANCED=y
# Kernel hacking
#
CONFIG_CROSSCOMPILE=y
-# CONFIG_KERNPROF is not set
-# CONFIG_MCOUNT is not set
-# CONFIG_DEBUG is not set
-CONFIG_MAGIC_SYSRQ=y
+# CONFIG_RUNTIME_DEBUG is not set
+# CONFIG_KGDB is not set
+# CONFIG_GDB_CONSOLE is not set
+# CONFIG_DEBUG_INFO is not set
+# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_MIPS_UNCACHED is not set
-# CONFIG_KTRACE is not set
-# CONFIG_HWSIM is not set
+CONFIG_LOG_BUF_SHIFT=0
+
+#
+# Cryptographic options
+#
+# CONFIG_CRYPTO is not set
#
# Library routines
#
+# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
diff --git a/openwrt/package/linux/linux.mk b/openwrt/package/linux/linux.mk
index 69245b0..69f45a0 100644
--- a/openwrt/package/linux/linux.mk
+++ b/openwrt/package/linux/linux.mk
@@ -21,43 +21,47 @@
#############################################################
ifneq ($(filter $(TARGETS),linux),)
-# Version of Linux to download and then apply patches to
-DOWNLOAD_LINUX_VERSION=2.4.27
-# Version of Linux AFTER patches
-LINUX_VERSION=2.4.28-pre4-erik
-
-LINUX_FORMAT=vmlinux
-#LINUX_FORMAT=images/zImage.prep
+LINUX_FORMAT=zImage
LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
-e 's/mipsel/mips/' \
-e 's/powerpc/ppc/' \
-e 's/sh[234]/sh/' \
)
-LINUX_BINLOC=arch/$(LINUX_KARCH)/boot/$(LINUX_FORMAT)
-LINUX_DIR=$(BUILD_DIR)/linux-$(LINUX_VERSION)
-LINUX_SOURCE=linux-$(DOWNLOAD_LINUX_VERSION).tar.bz2
-LINUX_SITE=http://www.kernel.org/pub/linux/kernel/v2.4
+LINUX_VERSION=2.4.29
+LINUX_CVS_DATE="2005-01-30"
+LINUX_CVS_BRANCH=linux_2_4
+LINUX_DIR=$(BUILD_DIR)/linux
+LINUX_SITE=ftp.linux-mips.org
LINUX_KCONFIG=package/linux/linux.config
LINUX_KERNEL=$(BUILD_DIR)/buildroot-kernel
+LINUX_BINLOC=arch/$(LINUX_KARCH)/brcm-boards/bcm947xx/compressed/vmlinuz
# Used by pcmcia-cs and others
LINUX_SOURCE_DIR=$(LINUX_DIR)
+LINKSYS_SITE=openwrt.openbsd-geek.de
+LINKSYS_TGZ=linksys-3.37.2.tgz
-$(DL_DIR)/$(LINUX_SOURCE):
- -mkdir -p $(DL_DIR)
- $(WGET) -P $(DL_DIR) $(LINUX_SITE)/$(LINUX_SOURCE)
+TARGET_MODULES_DIR=$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)
-$(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE)
+$(DL_DIR)/linux.tar.bz2:
+ -mkdir -p $(DL_DIR)
+ (cd $(DL_DIR); cvs -d :pserver:cvs:cvs@$(LINUX_SITE):/home/cvs login)
+ (cd $(DL_DIR); cvs -z3 -d :pserver:cvs:cvs@$(LINUX_SITE):/home/cvs co -D $(LINUX_CVS_DATE) -r$(LINUX_CVS_BRANCH) linux)
+ (cd $(DL_DIR); tar jcvf linux.tar.bz2 linux && rm -rf linux)
+ $(WGET) -P $(DL_DIR) $(LINKSYS_SITE)/$(LINKSYS_TGZ)
+
+$(LINUX_DIR)/.unpacked: $(DL_DIR)/linux.tar.bz2
+ -mkdir -p $(BUILD_DIR)
+ #-(cp -a $(DL_DIR)/linux $(BUILD_DIR)/linux)
+ (cd $(BUILD_DIR); tar jxvf $(DL_DIR)/linux.tar.bz2)
-mkdir -p $(TOOL_BUILD_DIR)
- -(cd $(TOOL_BUILD_DIR); ln -sf $(LINUX_DIR) linux)
- bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION))
- # Rename the dir from the downloaded version to the AFTER patch version
- mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX_VERSION) $(BUILD_DIR)/linux-$(LINUX_VERSION)
-endif
- mkdir -p package/linux/kernel-patches
+ -(cd $(TOOL_BUILD_DIR); ln -sf $(BUILD_DIR)/linux linux)
toolchain/patch-kernel.sh $(LINUX_DIR) package/linux/kernel-patches
+ -cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config
+ # extract linksys binary kernel modules and include/shared files
+ -mkdir -p $(BUILD_DIR)/binary
+ tar -C $(BUILD_DIR)/binary -xzvf $(DL_DIR)/linksys-3.37.2.tgz
touch $(LINUX_DIR)/.unpacked
$(LINUX_KCONFIG):
@@ -69,9 +73,10 @@ $(LINUX_KCONFIG):
sleep 5; \
fi;
-$(LINUX_DIR)/.configured $(BUILD_DIR)/linux/.configured: $(LINUX_DIR)/.unpacked $(LINUX_KCONFIG)
+$(LINUX_DIR)/.configured: $(LINUX_DIR)/.unpacked $(LINUX_KCONFIG)
$(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/Makefile
- -cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config
+ $(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/arch/mips/Makefile
+ $(SED) "s,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) oldconfig include/linux/version.h
touch $(LINUX_DIR)/.configured
@@ -87,18 +92,25 @@ $(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC)
cp -fa $(LINUX_DIR)/$(LINUX_BINLOC) $(LINUX_KERNEL)
touch -c $(LINUX_KERNEL)
-$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep: $(LINUX_KERNEL)
- rm -rf $(TARGET_DIR)/lib/modules
- rm -f $(TARGET_DIR)/sbin/cardmgr
- $(MAKE) -C $(LINUX_DIR) INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
- (cd $(TARGET_DIR)/lib/modules; ln -s $(LINUX_VERSION)/kernel/drivers .)
+$(LINUX_DIR)/.modules_done: $(LINUX_KERNEL)
+ rm -rf $(BUILD_DIR)/modules
+ $(MAKE) -C $(LINUX_DIR) DEPMOD=true INSTALL_MOD_PATH=$(BUILD_DIR)/modules modules_install
+ tar -C $(BUILD_DIR)/modules/lib -cjf openwrt-kmodules.tar.bz2 modules
+ touch $(LINUX_DIR)/.modules_done
+
$(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured
mkdir -p $(STAGING_DIR)/include
tar -ch -C $(LINUX_DIR)/include -f - linux | tar -xf - -C $(STAGING_DIR)/include/
tar -ch -C $(LINUX_DIR)/include -f - asm | tar -xf - -C $(STAGING_DIR)/include/
-linux: $(STAGING_DIR)/include/linux/version.h $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep
+linux: $(STAGING_DIR)/include/linux/version.h $(LINUX_DIR)/.modules_done linux-modules-root
+
+linux-modules-root:
+ -mkdir -p $(TARGET_MODULES_DIR)
+ cp $(LINUX_DIR)/drivers/net/wl/wl.o $(TARGET_MODULES_DIR)
+ cp $(LINUX_DIR)/drivers/net/et/et.o $(TARGET_MODULES_DIR)
+ cp $(LINUX_DIR)/drivers/net/diag/diag.o $(TARGET_MODULES_DIR)
linux-source: $(DL_DIR)/$(LINUX_SOURCE)