summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 18:42:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 18:42:17 +0100
commit65ba91df3f0ad65244e588d34d11d30d622bf4d0 (patch)
tree73083e41f58c19536c2001bc21ee3584cd2bbfdc /target/config
parentabe3b8f248e747fa1267b2260f9605987aa0c41d (diff)
parent406ccf8df407e0292ee85d259a363c63e2be40a7 (diff)
add x32 toolchain and kernel support
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in24
-rw-r--r--target/config/Config.in.tools40
2 files changed, 64 insertions, 0 deletions
diff --git a/target/config/Config.in b/target/config/Config.in
index a433eb713..00e7eefe3 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -49,6 +49,7 @@ config ADK_TARGET_FLOAT
default "soft" if ADK_soft_float
config ADK_TARGET_ARM_MODE
+ depends on ADK_LINUX_ARM
string
default "arm" if ADK_mode_arm
default "thumb" if ADK_mode_thumb
@@ -118,6 +119,15 @@ config ADK_n64
config ADK_TARGET_ABI
string
+ default "n32" if ADK_n32
+ default "n64" if ADK_n64
+ default "32" if ADK_32
+ default "x32" if ADK_x32
+ default "eabi" if ADK_EABI
+ default "eabihf" if ADK_EABIHF
+
+config ADK_TARGET_MIPS_ABI
+ string
default "32" if ADK_o32
default "n32" if ADK_n32
default "64" if ADK_n64
@@ -193,6 +203,8 @@ config ADK_TARGET_KERNEL_MINICONFIG
default "qemu-mips64el" if ADK_TARGET_SYSTEM_QEMU_MIPS64EL
default "qemu-ppc" if ADK_TARGET_SYSTEM_QEMU_PPC
default "qemu-ppc64" if ADK_TARGET_SYSTEM_QEMU_PPC64
+ default "qemu-sh" if ADK_TARGET_SYSTEM_QEMU_SH4
+ default "qemu-sh" if ADK_TARGET_SYSTEM_QEMU_SH4EB
default "qemu-sparc" if ADK_TARGET_SYSTEM_QEMU_SPARC
default "qemu-sparc64" if ADK_TARGET_SYSTEM_QEMU_SPARC64
default "qemu-i686" if ADK_TARGET_SYSTEM_QEMU_I686
@@ -651,6 +663,7 @@ config ADK_TARGET_LIB_EGLIBC
prompt "Embedded GNU C library"
boolean
select ADK_eglibc
+ select ADK_HOST_NEED_GPERF
depends on \
ADK_LINUX_ARM || \
ADK_LINUX_ARMEB || \
@@ -696,6 +709,7 @@ config ADK_TARGET_LIB_MUSL
ADK_LINUX_MICROBLAZE || \
ADK_LINUX_MIPS || \
ADK_LINUX_PPC || \
+ ADK_LINUX_SH || \
ADK_LINUX_X86 || \
ADK_LINUX_X86_64
help
@@ -720,6 +734,10 @@ config ADK_TARGET_SUFFIX
default "muslgnueabihf" if ADK_TARGET_LIB_MUSL && ADK_EABIHF
default "muslgnueabi" if ADK_TARGET_LIB_MUSL && ADK_EABI
default "musl" if ADK_TARGET_LIB_MUSL && !ADK_EABI
+ default "n64" if ADK_n64
+ default "n32" if ADK_n32
+ default "32" if ADK_32
+ default "x32" if ADK_x32
default "gnu"
choice
@@ -768,6 +786,7 @@ config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
config ADK_TARGET_ROOTFS_SQUASHFS
bool "Compressed read-only root filesystem (squashfs)"
select ADK_KERNEL_SQUASHFS
+ select ADK_HOST_NEED_SQUASHFS
depends on ADK_TARGET_WITH_MTD
help
highly compressed read-only filesystem for MTD flash systems.
@@ -776,6 +795,7 @@ config ADK_TARGET_ROOTFS_JFFS2
bool "Compressed read-write root filesystem (jffs2)"
select ADK_KERNEL_MISC_FILESYSTEMS
select ADK_KERNEL_JFFS2
+ select ADK_HOST_NEED_JFFS2
depends on ADK_TARGET_WITH_MTD
help
compressed read-write filesystem for MTD flash systems.
@@ -834,6 +854,7 @@ config ADK_TARGET_ROOTFS_GENEXT2FS
depends on ADK_TARGET_WITH_CF
select ADK_KERNEL_EXT2_FS
select ADK_KERNEL_SCSI
+ select ADK_HOST_NEED_GENEXT2FS
help
Use this option if you have a compact flash based system.
(ext2 filesystem is used.)
@@ -854,6 +875,8 @@ config ADK_TARGET_ROOTFS_ISO
select ADK_KERNEL_JOLIET
select ADK_KERNEL_SCSI
select ADK_KERNEL_BLK_DEV_SR
+ select ADK_HOST_NEED_MKISOFS
+ select ADK_HOST_NEED_SYSLINUX
depends on ADK_HOST_LINUX
depends on ADK_LINUX_X86
help
@@ -861,6 +884,7 @@ config ADK_TARGET_ROOTFS_ISO
config ADK_TARGET_ROOTFS_ARCHIVE
bool "Archive usable for different filesystems"
+ select ADK_HOST_NEED_GENEXT2FS if ADK_HARDWARE_QEMU
select ADK_KERNEL_EXT2_FS if ADK_HARDWARE_QEMU
depends on !ADK_LINUX_MICROBLAZE
help
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 31246458d..cf92eadee 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -1,3 +1,43 @@
+config ADK_HOST_NEED_MKISOFS
+ boolean
+ default n
+
+config ADK_HOST_NEED_SYSLINUX
+ boolean
+ default n
+
+config ADK_HOST_NEED_GPERF
+ boolean
+ default n
+
+config ADK_HOST_NEED_SQUASHFS
+ boolean
+ default n
+
+config ADK_HOST_NEED_JFFS2
+ boolean
+ default n
+
+config ADK_HOST_NEED_GENEXT2FS
+ boolean
+ default n
+
+config ADK_HOST_NEED_LZOP
+ boolean
+ default n
+
+config ADK_HOST_NEED_LZMA
+ boolean
+ default n
+
+config ADK_HOST_NEED_BZIP2
+ boolean
+ default n
+
+config ADK_HOST_NEED_XZ
+ boolean
+ default n
+
config ADK_TOOLS_ADDPATTERN_ARGS
string
default "-p W54G -v v4.20.6" if ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54G