summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.kernelcfg (renamed from target/config/Config.in.kernel)36
-rw-r--r--target/config/Config.in.kernelfmt35
2 files changed, 45 insertions, 26 deletions
diff --git a/target/config/Config.in.kernel b/target/config/Config.in.kernelcfg
index c03f854fd..458405198 100644
--- a/target/config/Config.in.kernel
+++ b/target/config/Config.in.kernelcfg
@@ -1,40 +1,24 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-config ADK_TARGET_KERNEL_VMLINUZ
- bool
+choice
+prompt "Kernel configuration"
-config ADK_TARGET_KERNEL_ZIMAGE
- bool
+config ADK_TARGET_KERNEL_USE_MINICONFIG
+ bool "Use mini.config from OpenADK"
-config ADK_TARGET_KERNEL_LINUXBIN
- bool
+config ADK_TARGET_KERNEL_USE_DEFCONFIG
+ bool "Use defconfig from Linux kernel"
-config ADK_TARGET_KERNEL_IMAGE
- bool
+endchoice
-config ADK_TARGET_KERNEL_UIMAGE
- bool
-
-config ADK_TARGET_KERNEL_BZIMAGE
- bool
-
-config ADK_TARGET_KERNEL_VMLINUX_AOUT
- bool
-
-config ADK_TARGET_KERNEL
+config ADK_TARGET_KERNEL_DEFCONFIG
string
- default "uImage" if ADK_TARGET_KERNEL_UIMAGE
- default "zImage" if ADK_TARGET_KERNEL_ZIMAGE
- default "Image" if ADK_TARGET_KERNEL_IMAGE
- default "linux.bin" if ADK_TARGET_KERNEL_LINUXBIN
- default "vmlinuz" if ADK_TARGET_KERNEL_VMLINUZ
- default "bzImage" if ADK_TARGET_KERNEL_BZIMAGE
- default "vmlinux.aout" if ADK_TARGET_KERNEL_VMLINUX_AOUT
- default "vmlinux"
+ depends on ADK_TARGET_KERNEL_USE_DEFCONFIG
config ADK_TARGET_KERNEL_MINICONFIG
string
+ depends on ADK_TARGET_KERNEL_USE_MINICONFIG
default "arm-fm" if ADK_TARGET_SYSTEM_ARM_FM
default "qemu-cris" if ADK_TARGET_SYSTEM_QEMU_CRIS
default "qemu-microblaze-s3adsp1800" if ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
diff --git a/target/config/Config.in.kernelfmt b/target/config/Config.in.kernelfmt
new file mode 100644
index 000000000..6c7180b0e
--- /dev/null
+++ b/target/config/Config.in.kernelfmt
@@ -0,0 +1,35 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+config ADK_TARGET_KERNEL_VMLINUZ
+ bool
+
+config ADK_TARGET_KERNEL_ZIMAGE
+ bool
+
+config ADK_TARGET_KERNEL_LINUXBIN
+ bool
+
+config ADK_TARGET_KERNEL_IMAGE
+ bool
+
+config ADK_TARGET_KERNEL_UIMAGE
+ bool
+
+config ADK_TARGET_KERNEL_BZIMAGE
+ bool
+
+config ADK_TARGET_KERNEL_VMLINUX_AOUT
+ bool
+
+config ADK_TARGET_KERNEL
+ string
+ default "uImage" if ADK_TARGET_KERNEL_UIMAGE
+ default "zImage" if ADK_TARGET_KERNEL_ZIMAGE
+ default "Image" if ADK_TARGET_KERNEL_IMAGE
+ default "linux.bin" if ADK_TARGET_KERNEL_LINUXBIN
+ default "vmlinuz" if ADK_TARGET_KERNEL_VMLINUZ
+ default "bzImage" if ADK_TARGET_KERNEL_BZIMAGE
+ default "vmlinux.aout" if ADK_TARGET_KERNEL_VMLINUX_AOUT
+ default "vmlinux"
+