summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in4
-rw-r--r--target/config/Config.in.adk7
-rw-r--r--target/config/Config.in.tools30
-rw-r--r--target/linux/config/Config.in.audio2
-rw-r--r--target/microblaze/Makefile2
-rw-r--r--target/packages/pkg-available/mpdbox1
-rw-r--r--target/packages/pkg-available/test1
-rw-r--r--target/sh/sys-available/toolchain-sh411
-rw-r--r--target/sh/sys-available/toolchain-sh4eb11
-rw-r--r--target/x86/kernel/generic-pc19
-rw-r--r--target/x86/sys-available/generic-pc9
11 files changed, 90 insertions, 7 deletions
diff --git a/target/config/Config.in b/target/config/Config.in
index 4c3112275..25e34c9cd 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -210,6 +210,7 @@ config ADK_TARGET_KERNEL_MINICONFIG
default "raspberry-pi" if ADK_TARGET_SYSTEM_RASPBERRY_PI
default "sharp-zaurus" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
default "lemote-yeelong" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+ default "generic-pc" if ADK_TARGET_SYSTEM_GENERIC_PC
config ADK_QEMU_ARGS
string
@@ -270,8 +271,6 @@ config ADK_TARGET_QEMU_WITH_BLOCK
select ADK_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
select ADK_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
select ADK_KERNEL_PATA_PLATFORM if ADK_LINUX_SH
- select ADK_HOST_NEED_JFFS2 if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605 || ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
- select ADK_HOST_NEED_SQUASHFS if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605 || ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
endchoice
@@ -773,6 +772,7 @@ config ADK_TARGET_ROOTFS_SQUASHFS
bool "Compressed read-only root filesystem (squashfs)"
select ADK_KERNEL_SQUASHFS
select ADK_HOST_NEED_SQUASHFS
+ select ADK_HOST_NEED_QEMU if ADK_HARDWARE_QEMU
select ADK_TARGET_QEMU_WITH_BLOCK if ADK_HARDWARE_QEMU
depends on ADK_TARGET_WITH_MTD
help
diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk
index 0c598e50c..7487ac056 100644
--- a/target/config/Config.in.adk
+++ b/target/config/Config.in.adk
@@ -33,6 +33,13 @@ config ADK_DEBUG
All packages and libc will be compiled and packaged with debug information.
Mostly useful for NFS root or big USB/CF or hard disk setups.
+config ADK_DEBUG_OPTS
+ bool "use optimization cflags"
+ depends on ADK_DEBUG
+ default n
+ help
+ All packages and libc will be compiled with debug information and optimization flags on.
+
config ADK_DEBUG_STRIP
bool "strip target binaries/libraries for gdbserver usage"
depends on ADK_DEBUG
diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools
index 2159b4db7..b3e900bb3 100644
--- a/target/config/Config.in.tools
+++ b/target/config/Config.in.tools
@@ -97,25 +97,49 @@ config ADK_HOST_BUILD_MKSH
boolean
default n
-config ADK_HOST_NEED_SYSLINUX
+config ADK_HOST_NEED_QEMU
boolean
default n
-config ADK_HOST_BUILD_SYSLINUX
+config ADK_HOST_BUILD_QEMU
boolean
default n
# optional, must be used from OpenADK
+config ADK_HOST_NEED_MKIMAGE
+ boolean
+ default n
+
+config ADK_HOST_BUILD_MKIMAGE
+ boolean
+ default y if ADK_HOST_NEED_MKIMAGE
+ default n
+
+config ADK_HOST_NEED_MTD_UTILS
+ boolean
+ default n
+
config ADK_HOST_BUILD_MTD_UTILS
boolean
+ default y if ADK_HOST_NEED_MTD_UTILS
+ default n
+
+config ADK_HOST_NEED_SQUASHFS
+ boolean
default n
config ADK_HOST_BUILD_SQUASHFS
boolean
+ default y if ADK_HOST_NEED_SQUASHFS
default n
-config ADK_HOST_BUILD_MKIMAGE
+config ADK_HOST_NEED_SYSLINUX
+ boolean
+ default n
+
+config ADK_HOST_BUILD_SYSLINUX
boolean
+ default y if ADK_HOST_NEED_SYSLINUX
default n
config ADK_HOST_BUILD_PCRE
diff --git a/target/linux/config/Config.in.audio b/target/linux/config/Config.in.audio
index a1a5077e6..f87a7e751 100644
--- a/target/linux/config/Config.in.audio
+++ b/target/linux/config/Config.in.audio
@@ -124,7 +124,7 @@ config ADK_KPACKAGE_KMOD_SND_BCM2708_SOC_I2S
select ADK_KPACKAGE_KMOD_SND
select ADK_KERNEL_SND_ARM
select ADK_KPACKAGE_KMOD_SND_SOC
- select ADK_KPACKAGE_KMOD_SND_PCM_DMAENGINE
+ select ADK_KPACKAGE_KMOD_SND_PCM_DMAENGINE if !ADK_KERNEL_VERSION_3_10_34
select ADK_KPACKAGE_KMOD_SND_COMPRESS
depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
default n
diff --git a/target/microblaze/Makefile b/target/microblaze/Makefile
index 58d02c5be..4a39e1c3b 100644
--- a/target/microblaze/Makefile
+++ b/target/microblaze/Makefile
@@ -18,7 +18,7 @@ endif
ifeq ($(ADK_TARGET_FS),squashfs)
imageinstall: $(BUILD_DIR)/root.squashfs
- qemu-img create -f raw $(FW_DIR)/$(ROOTFSSQUASHFS) $(ADK_TARGET_MTD_SIZE)
+ env PATH=$(HOST_PATH) qemu-img create -f raw $(FW_DIR)/$(ROOTFSSQUASHFS) $(ADK_TARGET_MTD_SIZE)
dd conv=notrunc if=$(BUILD_DIR)/root.squashfs of=$(FW_DIR)/$(ROOTFSSQUASHFS)
@cp $(KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
ifneq ($(ADK_HARDWARE_QEMU),)
diff --git a/target/packages/pkg-available/mpdbox b/target/packages/pkg-available/mpdbox
index eab49bc8a..b67197c11 100644
--- a/target/packages/pkg-available/mpdbox
+++ b/target/packages/pkg-available/mpdbox
@@ -49,6 +49,7 @@ config ADK_PKG_MPDBOX
select ADK_PACKAGE_PHP_FASTCGI
select ADK_PACKAGE_SCREEN
select ADK_PACKAGE_VIM
+ select ADK_PACKAGE_E2FSCK
select ADK_PACKAGE_ALSA_UTILS
select ADK_PACKAGE_ALSA_UTILS_WITH_ALSAMIXER
select ADK_KPACKAGE_KMOD_SND_INTEL8X0 if ADK_TARGET_SYSTEM_QEMU_I686
diff --git a/target/packages/pkg-available/test b/target/packages/pkg-available/test
index 5ffe80949..e9db8161b 100644
--- a/target/packages/pkg-available/test
+++ b/target/packages/pkg-available/test
@@ -5,6 +5,7 @@ config ADK_PKG_TEST
select ADK_PACKAGE_SOCAT
select ADK_PACKAGE_MAKE
select ADK_PACKAGE_FILE
+ select ADK_PACKAGE_RDATE
select ADK_KERNEL_BLK_DEV_INITRD
select ADK_KERNEL_COMP_XZ
select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
diff --git a/target/sh/sys-available/toolchain-sh4 b/target/sh/sys-available/toolchain-sh4
new file mode 100644
index 000000000..4d7fff826
--- /dev/null
+++ b/target/sh/sys-available/toolchain-sh4
@@ -0,0 +1,11 @@
+config ADK_TARGET_SYSTEM_TOOLCHAIN_SH4
+ bool "Toolchain only (little endian)"
+ select ADK_sh
+ select ADK_little
+ select ADK_toolchain_sh
+ select ADK_CPU_SH4
+ select ADK_TOOLCHAIN
+ select ADK_TARGET_PACKAGE_TXZ
+ help
+ Build a superh toolchain (sh4).
+
diff --git a/target/sh/sys-available/toolchain-sh4eb b/target/sh/sys-available/toolchain-sh4eb
new file mode 100644
index 000000000..cccc163e1
--- /dev/null
+++ b/target/sh/sys-available/toolchain-sh4eb
@@ -0,0 +1,11 @@
+config ADK_TARGET_SYSTEM_TOOLCHAIN_SH4EB
+ bool "Toolchain only (big endian)"
+ select ADK_sh
+ select ADK_big
+ select ADK_toolchain_sheb
+ select ADK_CPU_SH4
+ select ADK_TOOLCHAIN
+ select ADK_TARGET_PACKAGE_TXZ
+ help
+ Build a superh toolchain (sh4 big endian).
+
diff --git a/target/x86/kernel/generic-pc b/target/x86/kernel/generic-pc
new file mode 100644
index 000000000..f665a27c6
--- /dev/null
+++ b/target/x86/kernel/generic-pc
@@ -0,0 +1,19 @@
+CONFIG_X86=y
+CONFIG_X86_32=y
+CONFIG_PCI=y
+CONFIG_PCI_GOANY=y
+CONFIG_PCI_BIOS=y
+CONFIG_PCI_DIRECT=y
+CONFIG_PCI_DOMAINS=y
+CONFIG_NET_VENDOR_NATSEMI=y
+CONFIG_NET_VENDOR_8390=y
+CONFIG_NE2K_PCI=y
+CONFIG_PCNET32=y
+CONFIG_NET_VENDOR_REALTEK=y
+CONFIG_RTL8139CP=y
+CONFIG_8139TOO=y
+CONFIG_NET_VENDOR_INTEL=y
+CONFIG_E100=y
+CONFIG_E1000=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
diff --git a/target/x86/sys-available/generic-pc b/target/x86/sys-available/generic-pc
new file mode 100644
index 000000000..76d228936
--- /dev/null
+++ b/target/x86/sys-available/generic-pc
@@ -0,0 +1,9 @@
+config ADK_TARGET_SYSTEM_GENERIC_PC
+ bool "Generic PC (486)"
+ select ADK_x86
+ select ADK_generic_pc
+ select ADK_CPU_I486
+ select ADK_TARGET_KERNEL_BZIMAGE
+ help
+ Support for generic PC (i486).
+