summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/Config.in163
-rw-r--r--target/Config.in.x8634
-rw-r--r--target/Config.in.x86_6444
-rw-r--r--target/ag241/target.mk4
-rw-r--r--target/brcm/target.mk4
-rw-r--r--target/bulk.lst6
-rw-r--r--target/bulkdef.lst18
-rw-r--r--target/bulktool.lst6
-rw-r--r--target/lemote/target.mk4
-rw-r--r--target/linux/config/Config.in.block36
-rw-r--r--target/linux/config/Config.in.kvm2
-rw-r--r--target/linux/config/Config.in.netdevice4
-rw-r--r--target/linux/config/Config.in.usb3
-rw-r--r--target/native/target.mk4
-rw-r--r--target/qemu-arm/target.mk4
-rw-r--r--target/qemu-cris/target.mk4
-rw-r--r--target/qemu-mips/target.mk4
-rw-r--r--target/qemu-mips64/target.mk4
-rw-r--r--target/qemu-mips64el/target.mk4
-rw-r--r--target/qemu-mipsel/target.mk4
-rw-r--r--target/qemu-x86/target.mk4
-rw-r--r--target/qemu-x86_64/target.mk4
-rw-r--r--target/rb4xx/target.mk4
-rw-r--r--target/rb532/target.mk4
-rw-r--r--target/rescue-x86/Makefile22
-rw-r--r--target/rescue-x86/kernel.config1106
-rw-r--r--target/rescue-x86/target.mk7
-rw-r--r--target/rescue-x86/uclibc.config241
-rw-r--r--target/rescue-x86_64/Makefile22
-rw-r--r--target/rescue-x86_64/files/etc/inittab4
-rw-r--r--target/rescue-x86_64/files/etc/mdev.conf14
-rw-r--r--target/rescue-x86_64/target.mk7
-rw-r--r--target/shuttle/files/etc/inittab4
-rw-r--r--target/shuttle/files/etc/mdev.conf14
-rw-r--r--target/shuttle/kernel.config1115
-rw-r--r--target/shuttle/uclibc.config223
-rw-r--r--target/target.lst14
-rw-r--r--target/toolchain-arm/target.mk4
-rw-r--r--target/toolchain-armel/target.mk4
-rw-r--r--target/toolchain-mips/target.mk4
-rw-r--r--target/toolchain-mipsel/target.mk4
-rw-r--r--target/toolchain-ppc/target.mk4
-rw-r--r--target/toolchain-sparc/target.mk4
-rw-r--r--target/toolchain-x86/target.mk7
-rw-r--r--target/toolchain-x86/uclibc.config241
-rw-r--r--target/toolchain-x86_64/target.mk7
-rw-r--r--target/toolchain-x86_64/uclibc.config240
-rw-r--r--target/wrap/target.mk4
-rw-r--r--target/x86/Makefile (renamed from target/ibmx40/Makefile)0
-rw-r--r--target/x86/files/etc/inittab (renamed from target/ibmx40/files/etc/inittab)0
-rw-r--r--target/x86/files/etc/mdev.conf (renamed from target/ibmx40/files/etc/mdev.conf)0
-rw-r--r--target/x86/files/etc/network/interfaces (renamed from target/ibmx40/files/etc/network/interfaces)0
-rw-r--r--target/x86/files/etc/notmpfs (renamed from target/ibmx40/files/etc/notmpfs)0
-rw-r--r--target/x86/kernel.config (renamed from target/ibmx40/kernel.config)109
-rw-r--r--target/x86/target.mk (renamed from target/ibmx40/target.mk)0
-rw-r--r--target/x86/uclibc.config (renamed from target/ibmx40/uclibc.config)0
-rw-r--r--target/x86_64/Makefile (renamed from target/shuttle/Makefile)5
-rw-r--r--target/x86_64/files/etc/inittab (renamed from target/rescue-x86/files/etc/inittab)0
-rw-r--r--target/x86_64/files/etc/mdev.conf (renamed from target/rescue-x86/files/etc/mdev.conf)0
-rw-r--r--target/x86_64/files/etc/network/interfaces (renamed from target/shuttle/files/etc/network/interfaces)0
-rw-r--r--target/x86_64/files/etc/notmpfs (renamed from target/shuttle/files/etc/notmpfs)0
-rw-r--r--target/x86_64/kernel.config (renamed from target/rescue-x86_64/kernel.config)229
-rw-r--r--target/x86_64/target.mk (renamed from target/shuttle/target.mk)4
-rw-r--r--target/x86_64/uclibc.config (renamed from target/rescue-x86_64/uclibc.config)0
-rw-r--r--target/zaurus/target.mk4
65 files changed, 278 insertions, 3761 deletions
diff --git a/target/Config.in b/target/Config.in
index a43456d49..66e6fd1b4 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -83,12 +83,6 @@ config ADK_ppc_toolchain
config ADK_sparc_toolchain
tristate
-config ADK_x86_toolchain
- tristate
-
-config ADK_x86_64_toolchain
- tristate
-
config ADK_arm_qemu
tristate
@@ -125,27 +119,12 @@ config ADK_zaurus
config ADK_foxg20
tristate
-config ADK_ibmx40
- tristate
-
config ADK_foxboard
tristate
config ADK_lemote
tristate
-config ADK_x86_rescue
- tristate
-
-config ADK_x86_64_rescue
- tristate
-
-config ADK_mips_rescue
- tristate
-
-config ADK_mipsel_rescue
- tristate
-
config ADK_brcm
tristate
@@ -155,7 +134,7 @@ config ADK_ag241
config ADK_wag54g
tristate
-config ADK_shuttle
+config ADK_x86_64
tristate
config ADK_x86
@@ -166,14 +145,14 @@ config ADK_TARGET
default "alix" if ADK_alix
default "wrap" if ADK_wrap
default "brcm" if ADK_brcm
+ default "x86" if ADK_x86
+ default "x86_64" if ADK_x86_64
default "toolchain-arm" if ADK_arm_toolchain
default "toolchain-armel" if ADK_armel_toolchain
default "toolchain-mips" if ADK_mips_toolchain
default "toolchain-mipsel" if ADK_mipsel_toolchain
default "toolchain-ppc" if ADK_ppc_toolchain
default "toolchain-sparc" if ADK_sparc_toolchain
- default "toolchain-x86" if ADK_x86_toolchain
- default "toolchain-x86_64" if ADK_x86_64_toolchain
default "qemu-arm" if ADK_arm_qemu
default "qemu-cris" if ADK_cris_qemu
default "qemu-mips" if ADK_mips_qemu
@@ -188,14 +167,8 @@ config ADK_TARGET
default "rb4xx" if ADK_rb4xx
default "zaurus" if ADK_arm
default "lemote" if ADK_lemote
- default "ibmx40" if ADK_ibmx40
default "wag54g" if ADK_wag54g
default "ag241" if ADK_ag241
- default "rescue-x86" if ADK_x86_rescue
- default "rescue-x86_64" if ADK_x86_64_rescue
- default "rescue-mips" if ADK_mips_rescue
- default "rescue-mipsel" if ADK_mipsel_rescue
- default "shuttle" if ADK_shuttle
# c library
@@ -328,14 +301,6 @@ config ADK_LINUX_XSCALE_ZAURUS
Support for Sharp Zaurus SL-C3200 (aka Terrier)
Status: development
-config ADK_LINUX_RESCUE
- bool "Minimal Linux Rescuesystem"
- select ADK_KERNEL_INPUT_KEYBOARD
- select ADK_TARGET_WITH_INPUT
- help
- Rescuesystem with can be used to Boot from Disk or USB stick.
- Status: development
-
config ADK_LINUX_QEMU
bool "Qemu Emulator"
select ADK_KERNEL_NET_PCI
@@ -351,39 +316,17 @@ config ADK_LINUX_TOOLCHAIN
help
Toolchain only support
-config ADK_LINUX_X86_IBMX40
- bool "IBM X40 laptop"
- select ADK_ibmx40
- select ADK_HARDWARE_IBMX40
+config ADK_LINUX_X86
+ bool "x86 system"
+ select ADK_x86
help
- Support for a IBM X40 laptop.
- Status: development
+ Support for a x86 system.
-config ADK_LINUX_X86_64_SHUTTLE
- bool "Shuttle PC"
- select ADK_shuttle
- select ADK_TARGET_WITH_USB
- select ADK_TARGET_WITH_VGA
- select ADK_TARGET_WITH_PCI
- select ADK_TARGET_WITH_INPUT
- select ADK_TARGET_WITH_PP
- select ADK_KERNEL_INPUT_KEYBOARD
- select ADK_KERNEL_SCSI
- select ADK_KERNEL_NETDEVICES
- select ADK_KERNEL_NET_PCI
- select ADK_KERNEL_NET_ETHERNET
- select ADK_KERNEL_SATA_AHCI if ADK_TARGET_ROOTFS_ARCHIVE
- select ADK_KERNEL_BLK_DEV_SD if ADK_TARGET_ROOTFS_ARCHIVE
- select ADK_KERNEL_BLK_DEV_MD if ADK_TARGET_ROOTFS_ARCHIVE
- select ADK_KERNEL_MD_RAID0 if ADK_TARGET_ROOTFS_ARCHIVE
- select ADK_KERNEL_MD_RAID1 if ADK_TARGET_ROOTFS_ARCHIVE
- select ADK_KPACKAGE_KMOD_SATA_AHCI if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
- select ADK_KPACKAGE_KMOD_BLK_DEV_MD if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
- select ADK_KPACKAGE_KMOD_MD_RAID0 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
- select ADK_KPACKAGE_KMOD_MD_RAID1 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
- help
- Support for a nice and fast shuttle xpc with AMD quad-core CPU.
- Status: development
+config ADK_LINUX_X86_64
+ bool "x86_64 system"
+ select ADK_x86_64
+ help
+ Support for a x86_64/amd64 system.
config ADK_LINUX_X86_WRAP
bool "PC Engines WRAP"
@@ -397,9 +340,8 @@ config ADK_LINUX_X86_WRAP
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_ETHERNET
select ADK_KERNEL_MII
- select ADK_KERNEL_CRC32
select ADK_TARGET_WITH_WATCHDOG
- select BUSYBOX_HWCLOCK
+ select ADK_TARGET_WITH_RTC
help
End of life, but I still have one board.
http://www.pcengines.ch/
@@ -409,38 +351,6 @@ endchoice
choice
prompt "Architecture"
-depends on ADK_LINUX_RESCUE
-
-config ADK_LINUX_X86_64_RESCUE
- bool "x86_64"
- select ADK_x86_64_rescue
- help
- X86 architecture.
-
-config ADK_LINUX_X86_RESCUE
- bool "x86"
- select ADK_x86_rescue
- help
- X86 architecture.
-
-config ADK_LINUX_MIPSEL_RESCUE
- bool "mips (little endian)"
- select ADK_mipsel_rescue
- depends on ADK_BROKEN
- help
- MIPS LE architecture.
-
-config ADK_LINUX_MIPS_RESCUE
- bool "mips (big endian)"
- select ADK_mips_rescue
- depends on ADK_BROKEN
- help
- MIPS BE architecture.
-
-endchoice
-
-choice
-prompt "Architecture"
depends on ADK_LINUX_TOOLCHAIN
config ADK_LINUX_ARM_TOOLCHAIN
@@ -489,13 +399,6 @@ config ADK_LINUX_SPARC_TOOLCHAIN
help
Status: toolchain only
-config ADK_LINUX_X86_TOOLCHAIN
- bool "X86 Toolchain (32 Bit)"
- select ADK_x86_toolchain
- select ADK_TOOLCHAIN_ONLY
- help
- Status: toolchain only
-
config ADK_LINUX_X86_64_TOOLCHAIN
bool "X86 Toolchain (64 Bit)"
select ADK_x86_64_toolchain
@@ -592,6 +495,7 @@ config ADK_LINUX_X86_64_QEMU
endchoice
source "target/Config.in.alix"
+source "target/Config.in.x86"
choice
prompt "Routerboard model"
@@ -674,15 +578,14 @@ config ADK_TARGET_LIB_EGLIBC
bool "Embedded GNU C library"
select ADK_eglibc
depends on ADK_LINUX_QEMU || \
+ ADK_LINUX_X86 || \
+ ADK_LINUX_X86_64 || \
ADK_LINUX_ARM_FOXG20 || \
- ADK_LINUX_X86_IBMX40 || \
ADK_LINUX_X86_ALIX || \
ADK_LINUX_X86_WRAP || \
ADK_LINUX_MIPS_RB4XX || \
ADK_LINUX_MIPS_RB532 || \
- ADK_LINUX_X86_64_SHUTTLE || \
ADK_LINUX_MIPS64_LEMOTE || \
- ADK_LINUX_RESCUE || \
ADK_LINUX_TOOLCHAIN
help
http://www.eglibc.org
@@ -691,14 +594,13 @@ config ADK_TARGET_LIB_GLIBC
bool "GNU C library"
select ADK_glibc
depends on ADK_LINUX_QEMU || \
+ ADK_LINUX_X86 || \
+ ADK_LINUX_X86_64 || \
ADK_LINUX_ARM_FOXG20 || \
- ADK_LINUX_X86_IBMX40 || \
ADK_LINUX_X86_ALIX || \
ADK_LINUX_X86_WRAP || \
ADK_LINUX_MIPS_RB532 || \
ADK_LINUX_MIPS_RB4XX || \
- ADK_LINUX_X86_64_SHUTTLE || \
- ADK_LINUX_RESCUE || \
ADK_LINUX_MIPS64_LEMOTE || \
ADK_LINUX_TOOLCHAIN
help
@@ -721,12 +623,12 @@ prompt "Target Firmware type"
config ADK_TARGET_ROOTFS_INITRAMFS
bool "initramfs filesystem"
depends on \
+ ADK_LINUX_X86 || \
+ ADK_LINUX_X86_64 || \
ADK_LINUX_X86_ALIX || \
ADK_LINUX_QEMU || \
- ADK_LINUX_X86_64_SHUTTLE || \
ADK_LINUX_NATIVE || \
- ADK_LINUX_MIPS64_LEMOTE || \
- ADK_LINUX_RESCUE
+ ADK_LINUX_MIPS64_LEMOTE
select ADK_KERNEL_BLK_DEV_INITRD
help
create an read-only initramfs system.
@@ -737,11 +639,10 @@ config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
depends on \
ADK_LINUX_X86_ALIX || \
ADK_LINUX_QEMU || \
- ADK_LINUX_X86_IBMX40 || \
- ADK_LINUX_X86_64_SHUTTLE || \
+ ADK_LINUX_X86 || \
+ ADK_LINUX_X86_64 || \
ADK_LINUX_NATIVE || \
- ADK_LINUX_MIPS64_LEMOTE || \
- ADK_LINUX_RESCUE
+ ADK_LINUX_MIPS64_LEMOTE
help
create an read-only initramfs system.
@@ -797,7 +698,7 @@ config ADK_TARGET_ROOTFS_USB
select ADK_KERNEL_USB_UHCI_HCD
select ADK_KERNEL_USB_STORAGE
select ADK_KERNEL_EXT2_FS
- depends on ADK_LINUX_X86_IBMX40
+ depends on ADK_LINUX_X86 || ADK_LINUX_X86_64
help
Boot system from USB stick.
@@ -819,16 +720,16 @@ config ADK_TARGET_ROOTFS_ARCHIVE
ADK_LINUX_NATIVE || \
ADK_LINUX_QEMU || \
ADK_LINUX_XSCALE_ZAURUS || \
- ADK_LINUX_X86_IBMX40 || \
+ ADK_LINUX_X86 || \
ADK_LINUX_MIPS64_LEMOTE || \
- ADK_LINUX_X86_64_SHUTTLE
+ ADK_LINUX_X86_64
help
Use this option if your root filesystem is ext2/ext3/ext4/xfs.
config ADK_TARGET_ROOTFS_ENCRYPTED
bool "Encrypted read-write root filesystem"
depends on ADK_LINUX_MIPS64_LEMOTE || \
- ADK_LINUX_X86_IBMX40
+ ADK_LINUX_X86
select ADK_LINUX_INITRAMFS_BUILTIN
select ADK_PACKAGE_CRYPTINIT
select ADK_KERNEL_BLK_DEV_DM
@@ -863,6 +764,14 @@ config ADK_TARGET_ROOTFS_ENCRYPTED
endchoice
+config ADK_TARGET_ROOTFS_USB_DEVICE
+ prompt "Target device node for USB stick"
+ string
+ depends on ADK_TARGET_ROOTFS_USB
+ default "/dev/sdb1"
+ help
+ Target device node for the USB stick.
+
choice
prompt "Compression method for initramfs and kernel"
depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
diff --git a/target/Config.in.x86 b/target/Config.in.x86
new file mode 100644
index 000000000..86591f1f7
--- /dev/null
+++ b/target/Config.in.x86
@@ -0,0 +1,34 @@
+choice
+depends on ADK_LINUX_X86
+prompt "Hardware model"
+
+config ADK_HARDWARE_GENERIC
+ bool "Generic x86 system"
+ help
+ Generic x86 system.
+
+config ADK_HARDWARE_IBMX40
+ bool "IBM X40 laptop"
+ select ADK_TARGET_WITH_USB
+ select ADK_TARGET_WITH_PCI
+ select ADK_TARGET_WITH_VGA
+ select ADK_TARGET_WITH_INPUT
+ select ADK_TARGET_WITH_RTC
+ select ADK_TARGET_WITH_HDD
+ select ADK_KERNEL_NLS
+ select ADK_KERNEL_EXT2_FS
+ select ADK_KERNEL_SCSI
+ select ADK_KERNEL_ATA
+ select ADK_KERNEL_BLK_DEV_SD
+ select ADK_KERNEL_INPUT_KEYBOARD
+ select ADK_KERNEL_SWAP
+ help
+ Hardware profile for IBM X40 laptop's.
+
+config ADK_HARDWARE_GENERIC_X86_TOOLCHAIN
+ bool "x86 toolchain"
+ select ADK_TOOLCHAIN_ONLY
+ help
+ x86 toolchain.
+
+endchoice
diff --git a/target/Config.in.x86_64 b/target/Config.in.x86_64
new file mode 100644
index 000000000..82b8f2686
--- /dev/null
+++ b/target/Config.in.x86_64
@@ -0,0 +1,44 @@
+choice
+depends on ADK_LINUX_X86_64
+prompt "Hardware model"
+
+config ADK_HARDWARE_GENERIC
+ bool "Generic x86_64/amd64 system"
+ help
+ Generic x86_64/amd64 system.
+
+config ADK_HARDWARE_SHUTTLE
+ bool "Shuttle PC"
+ select ADK_shuttle
+ select ADK_TARGET_WITH_USB
+ select ADK_TARGET_WITH_VGA
+ select ADK_TARGET_WITH_PCI
+ select ADK_TARGET_WITH_RTC
+ select ADK_TARGET_WITH_INPUT
+ select ADK_TARGET_WITH_PP
+ select ADK_KERNEL_INPUT_KEYBOARD
+ select ADK_KERNEL_SCSI
+ select ADK_KERNEL_NETDEVICES
+ select ADK_KERNEL_NET_PCI
+ select ADK_KERNEL_NET_ETHERNET
+ select ADK_KERNEL_SATA_AHCI if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_BLK_DEV_SD if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_BLK_DEV_MD if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_MD_RAID0 if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_MD_RAID1 if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KPACKAGE_KMOD_SATA_AHCI if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_BLK_DEV_MD if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_MD_RAID0 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_MD_RAID1 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ help
+ Support for a nice and fast shuttle xpc with AMD quad-core CPU.
+ Status: development
+
+
+config ADK_HARDWARE_GENERIC_X86_64_TOOLCHAIN
+ bool "x86_64 toolchain"
+ select ADK_TOOLCHAIN_ONLY
+ help
+ x86_64 toolchain.
+
+endchoice
diff --git a/target/ag241/target.mk b/target/ag241/target.mk
index e42414ae7..95a66a072 100644
--- a/target/ag241/target.mk
+++ b/target/ag241/target.mk
@@ -1,7 +1,5 @@
+include $(TOPDIR)/mk/kernel-ver.mk
ARCH:= mips
CPU_ARCH:= mipsel
-KERNEL_VERSION:= 2.6.35.7
-KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= f741879bcd3a5366a1bbe0ad5cdb7935
TARGET_OPTIMIZATION:= -Os -pipe
TARGET_CFLAGS_ARCH:= -march=mips32
diff --git a/target/brcm/target.mk b/target/brcm/target.mk
index e42414ae7..95a66a072 100644
--- a/target/brcm/target.mk
+++ b/target/brcm/target.mk
@@ -1,7 +1,5 @@
+include $(TOPDIR)/mk/kernel-ver.mk
ARCH:= mips
CPU_ARCH:= mipsel
-KERNEL_VERSION:= 2.6.35.7
-KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= f741879bcd3a5366a1bbe0ad5cdb7935
TARGET_OPTIMIZATION:= -Os -pipe
TARGET_CFLAGS_ARCH:= -march=mips32
diff --git a/target/bulk.lst b/target/bulk.lst
index 036585a78..72bf5c124 100644
--- a/target/bulk.lst
+++ b/target/bulk.lst
@@ -30,6 +30,6 @@ x86_64_qemu eglibc archive
x86_64_qemu glibc archive
lemote eglibc archive
lemote glibc archive
-ibmx40 uclibc archive
-ibmx40 eglibc archive
-ibmx40 glibc archive
+x86 uclibc archive
+x86 eglibc archive
+x86 glibc archive
diff --git a/target/bulkdef.lst b/target/bulkdef.lst
index 7ffce6203..e100ea2c7 100644
--- a/target/bulkdef.lst
+++ b/target/bulkdef.lst
@@ -58,15 +58,15 @@ lemote eglibc initramfs
lemote glibc initramfs
lemote eglibc initramfs-piggyback
lemote glibc initramfs-piggyback
-ibmx40 uclibc archive
-ibmx40 eglibc archive
-ibmx40 glibc archive
-ibmx40 uclibc initramfs
-ibmx40 eglibc initramfs
-ibmx40 glibc initramfs
-ibmx40 uclibc initramfs-piggyback
-ibmx40 eglibc initramfs-piggyback
-ibmx40 glibc initramfs-piggyback
+x86 uclibc archive
+x86 eglibc archive
+x86 glibc archive
+x86 uclibc initramfs
+x86 eglibc initramfs
+x86 glibc initramfs
+x86 uclibc initramfs-piggyback
+x86 eglibc initramfs-piggyback
+x86 glibc initramfs-piggyback
shuttle uclibc archive
shuttle eglibc archive
shuttle glibc archive
diff --git a/target/bulktool.lst b/target/bulktool.lst
index 6005df9a3..abafba6d9 100644
--- a/target/bulktool.lst
+++ b/target/bulktool.lst
@@ -13,9 +13,3 @@ mipsel_toolchain glibc
ppc_toolchain uclibc
ppc_toolchain eglibc
ppc_toolchain glibc
-x86_toolchain uclibc
-x86_toolchain eglibc
-x86_toolchain glibc
-x86_64_toolchain uclibc
-x86_64_toolchain eglibc
-x86_64_toolchain glibc
diff --git a/target/lemote/target.mk b/target/lemote/target.mk
index c29d3f212..1f0c177af 100644
--- a/target/lemote/target.mk
+++ b/target/lemote/target.mk
@@ -1,7 +1,5 @@
+include $(TOPDIR)/mk/kernel-ver.mk
ARCH:= mips
CPU_ARCH:= mips64el
-KERNEL_VERSION:= 2.6.35.7
-KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= f741879bcd3a5366a1bbe0ad5cdb7935
TARGET_OPTIMIZATION:= -Os -pipe
TARGET_CFLAGS_ARCH:= -march=loongson2f -mabi=64
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index d8b32c716..0558f536a 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -59,7 +59,7 @@ config ADK_KERNEL_SATA_AHCI
select ADK_KERNEL_BLOCK
select ADK_KERNEL_ATA
select ADK_KERNEL_BLK_DEV_SD
- depends on ADK_LINUX_X86_64_SHUTTLE
+ default y if ADK_HARDWARE_SHUTTLE
default n
config ADK_KPACKAGE_KMOD_SATA_AHCI
@@ -69,44 +69,10 @@ config ADK_KPACKAGE_KMOD_SATA_AHCI
select ADK_KERNEL_ATA
select ADK_KERNEL_BLK_DEV_SD
depends on !ADK_KERNEL_SATA_AHCI
- depends on ADK_LINUX_X86_64_SHUTTLE
default n
help
Enables support for AHCI Serial ATA.
-#config ADK_KERNEL_IDE
-# boolean
-# default n
-#
-#config ADK_KPACKAGE_KMOD_BLK_DEV_IDE
-# prompt "kmod-ide.......................... IDE support"
-# tristate
-# select ADK_KERNEL_BLOCK
-# select ADK_KERNEL_IDE
-# default n
-# help
-# If you say Y here, you will use the full-featured IDE driver to
-# control up to ten ATA/IDE interfaces, each being able to serve a
-# "master" and a "slave" device, for a total of up to twenty ATA/IDE
-# disk/cdrom/tape/floppy drives.
-#
-# Useful information about large (>540 MB) IDE disks, multiple
-# interfaces, what to do if ATA/IDE devices are not automatically
-# detected, sound card ATA/IDE ports, module support, and other
-# topics, is contained in <file:Documentation/ide.txt>. For detailed
-# information about hard drives, consult the Disk-HOWTO and the
-# Multi-Disk-HOWTO, available from
-# <http://www.tldp.org/docs.html#howto>.
-#
-# To fine-tune ATA/IDE drive/interface parameters for improved
-# performance, look for the hdparm package at
-# <ftp://ibiblio.org/pub/Linux/system/hardware/>.
-#
-# To compile this driver as a module, choose M here and read
-# <file:Documentation/ide.txt>. The module will be called ide-mod.
-# Do not compile this driver as a module if your root file system (the
-# one containing the directory /) is located on an IDE device.
-
config ADK_KPACKAGE_KMOD_BLK_DEV_LOOP
prompt "kmod-loop......................... Loop mount support"
tristate
diff --git a/target/linux/config/Config.in.kvm b/target/linux/config/Config.in.kvm
index 4fc515e0e..20aaa4f92 100644
--- a/target/linux/config/Config.in.kvm
+++ b/target/linux/config/Config.in.kvm
@@ -1,5 +1,5 @@
menu "Virtualization"
-depends on ADK_LINUX_X86_64_SHUTTLE
+depends on ADK_LINUX_X86_64 || ADK_LINUX_X86
config ADK_KERNEL_VIRTUALIZATION
bool
diff --git a/target/linux/config/Config.in.netdevice b/target/linux/config/Config.in.netdevice
index ca71d554c..c3a42da09 100644
--- a/target/linux/config/Config.in.netdevice
+++ b/target/linux/config/Config.in.netdevice
@@ -83,6 +83,7 @@ config ADK_KPACKAGE_KMOD_E1000
select ADK_KERNEL_NET_ETHERNET
select ADK_KERNEL_NETDEV_1000
tristate
+ default y if ADK_HARDWARE_IBMX40
default n
help
This driver supports Intel(R) PRO/1000 gigabit ethernet family of
@@ -190,6 +191,7 @@ config ADK_KPACKAGE_KMOD_MAC80211
select ADK_KERNEL_WIRELESS
select ADK_KERNEL_WLAN_80211
select ADK_KERNEL_CRC32
+ default y if ADK_HARDWARE_IBMX40
default n
config ADK_DEBUG_MAC80211
@@ -209,6 +211,7 @@ config ADK_KPACKAGE_KMOD_ATH5K
select ADK_KERNEL_ATH_COMMON
de