diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-09-02 10:42:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-09-02 15:54:30 +0200 |
commit | 05374459533dd3d3a8e2bdfa5c68a791a893e290 (patch) | |
tree | 156d0ed9505c3dadd84292d3beb1ad4e2a2fca3e /target/config | |
parent | 6785da0b860ccfcfa5d6349b9997e34c477f37a9 (diff) |
allow to use linux defconfigs, needs more work
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.kernelfmt | 35 |
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" + |