summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-08-31 13:16:32 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-08-31 13:16:32 +0200
commit6beaca84dcedc3f43074874faf9b5139751ba10d (patch)
treedc385bc7d51458184a9375be4aea8eb7bf2d5a8e /target
parent376a0c383c9228bab500f01f4f1211d61269b06d (diff)
prefix VERSION symbols, otherwise they will get into kernel .config
Diffstat (limited to 'target')
-rw-r--r--target/Makefile2
-rw-r--r--target/config/Config.in.kernelversion.choice44
-rw-r--r--target/config/Config.in.kernelversion.default34
-rw-r--r--target/linux/config/Config.in.cpu12
-rw-r--r--target/linux/config/Config.in.graphics18
-rw-r--r--target/linux/config/Config.in.kernel4
-rw-r--r--target/linux/config/Config.in.network2
7 files changed, 49 insertions, 67 deletions
diff --git a/target/Makefile b/target/Makefile
index 5f1734078..a2934682e 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -27,7 +27,7 @@ ADK_PACKAGE_CMDLINE:=root=$(ADK_PACKAGE_CRYPTINIT_ROOT) swap=$(ADK_PACKAGE_CRYPT
ifeq ($(ADK_TARGET_KERNEL_CUSTOMISING),y)
config-prepare: $(ADK_TOPDIR)/.config
- @PATH='$(HOST_PATH)' sed -n '/^ADK_KERNEL/s//CONFIG/p' $(ADK_TOPDIR)/.config | grep -v CONFIG_VERSION \
+ @PATH='$(HOST_PATH)' sed -n '/^ADK_KERNEL/s//CONFIG/p' $(ADK_TOPDIR)/.config \
>$(BUILD_DIR)/.kernelconfig.kernel
@if [ -f $(ADK_TARGET_ARCH)/kernel/$(ADK_TARGET_KERNEL_MINICONFIG) ];then \
cat $(ADK_TOPDIR)/target/linux/kernel.config \
diff --git a/target/config/Config.in.kernelversion.choice b/target/config/Config.in.kernelversion.choice
index db05d3217..e13903721 100644
--- a/target/config/Config.in.kernelversion.choice
+++ b/target/config/Config.in.kernelversion.choice
@@ -4,18 +4,18 @@
choice
prompt "Kernel Version"
depends on ADK_TARGET_KERNEL_CUSTOMISING
-default ADK_KERNEL_VERSION_4_1_6
+default ADK_TARGET_KERNEL_VERSION_4_1_6
-config ADK_KERNEL_VERSION_GIT
+config ADK_TARGET_KERNEL_VERSION_GIT
bool "linux-git"
-config ADK_KERNEL_VERSION_4_1_6
+config ADK_TARGET_KERNEL_VERSION_4_1_6
bool "4.1.6"
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_4_1
+ select ADK_TARGET_KERNEL_VERSION_4_1
-config ADK_KERNEL_VERSION_3_18_16
+config ADK_TARGET_KERNEL_VERSION_3_18_16
bool "3.18.16"
depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
depends on !ADK_TARGET_ARCH_NIOS2
@@ -23,9 +23,9 @@ config ADK_KERNEL_VERSION_3_18_16
depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_3_18
+ select ADK_TARGET_KERNEL_VERSION_3_18
-config ADK_KERNEL_VERSION_3_14_45
+config ADK_TARGET_KERNEL_VERSION_3_14_45
bool "3.14.45"
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
@@ -33,9 +33,9 @@ config ADK_KERNEL_VERSION_3_14_45
depends on !ADK_TARGET_SYSTEM_QEMU_SPARC
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_3_14
+ select ADK_TARGET_KERNEL_VERSION_3_14
-config ADK_KERNEL_VERSION_3_12_44
+config ADK_TARGET_KERNEL_VERSION_3_12_44
bool "3.12.44"
depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
@@ -45,9 +45,9 @@ config ADK_KERNEL_VERSION_3_12_44
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_3_12
+ select ADK_TARGET_KERNEL_VERSION_3_12
-config ADK_KERNEL_VERSION_3_10_81
+config ADK_TARGET_KERNEL_VERSION_3_10_81
bool "3.10.81"
depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
@@ -57,9 +57,9 @@ config ADK_KERNEL_VERSION_3_10_81
depends on !ADK_TARGET_SYSTEM_QEMU_SPARC
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_3_10
+ select ADK_TARGET_KERNEL_VERSION_3_10
-config ADK_KERNEL_VERSION_3_4_108
+config ADK_TARGET_KERNEL_VERSION_3_4_108
bool "3.4.108"
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2
@@ -69,9 +69,9 @@ config ADK_KERNEL_VERSION_3_4_108
depends on !ADK_TARGET_SYSTEM_QEMU_SPARC
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_3_4
+ select ADK_TARGET_KERNEL_VERSION_3_4
-config ADK_KERNEL_VERSION_3_2_69
+config ADK_TARGET_KERNEL_VERSION_3_2_69
bool "3.2.69"
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2
@@ -81,9 +81,9 @@ config ADK_KERNEL_VERSION_3_2_69
depends on !ADK_TARGET_SYSTEM_QEMU_SPARC
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_3_2
+ select ADK_TARGET_KERNEL_VERSION_3_2
-config ADK_KERNEL_VERSION_2_6_32_67
+config ADK_TARGET_KERNEL_VERSION_2_6_32_67
bool "2.6.32.67"
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2
@@ -93,19 +93,19 @@ config ADK_KERNEL_VERSION_2_6_32_67
depends on !ADK_TARGET_SYSTEM_QEMU_SPARC
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
- select ADK_KERNEL_VERSION_2_6_32
+ select ADK_TARGET_KERNEL_VERSION_2_6_32
endchoice
-config ADK_KERNEL_REPO
+config ADK_TARGET_KERNEL_REPO
string "git repository"
- depends on ADK_KERNEL_VERSION_GIT
+ depends on ADK_TARGET_KERNEL_VERSION_GIT
default "git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git"
help
GIT repository to use.
-config ADK_KERNEL_HASH
+config ADK_TARGET_KERNEL_HASH
string
- depends on ADK_KERNEL_VERSION_GIT
+ depends on ADK_TARGET_KERNEL_VERSION_GIT
help
GIT hash to use.
diff --git a/target/config/Config.in.kernelversion.default b/target/config/Config.in.kernelversion.default
index a0edd5dbb..6d26d0e16 100644
--- a/target/config/Config.in.kernelversion.default
+++ b/target/config/Config.in.kernelversion.default
@@ -1,40 +1,40 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-config ADK_KERNEL_VERSION_4_1
+config ADK_TARGET_KERNEL_VERSION_4_1
bool
-config ADK_KERNEL_VERSION_3_18
+config ADK_TARGET_KERNEL_VERSION_3_18
bool
-config ADK_KERNEL_VERSION_3_14
+config ADK_TARGET_KERNEL_VERSION_3_14
bool
-config ADK_KERNEL_VERSION_3_12
+config ADK_TARGET_KERNEL_VERSION_3_12
bool
-config ADK_KERNEL_VERSION_3_10
+config ADK_TARGET_KERNEL_VERSION_3_10
bool
-config ADK_KERNEL_VERSION_3_4
+config ADK_TARGET_KERNEL_VERSION_3_4
bool
-config ADK_KERNEL_VERSION_3_2
+config ADK_TARGET_KERNEL_VERSION_3_2
bool
-config ADK_KERNEL_VERSION_2_6_32
+config ADK_TARGET_KERNEL_VERSION_2_6_32
bool
-config ADK_KERNEL_VERSION
+config ADK_TARGET_KERNEL_VERSION
string
- default "4.1.6" if ADK_KERNEL_VERSION_4_1_6
- default "3.18.16" if ADK_KERNEL_VERSION_3_18_16
- default "3.14.45" if ADK_KERNEL_VERSION_3_14_45
- default "3.12.44" if ADK_KERNEL_VERSION_3_12_44
- default "3.10.81" if ADK_KERNEL_VERSION_3_10_81
- default "3.4.108" if ADK_KERNEL_VERSION_3_4_108
- default "3.2.69" if ADK_KERNEL_VERSION_3_2_69
- default "2.6.32.67" if ADK_KERNEL_VERSION_2_6_32_67
+ default "4.1.6" if ADK_TARGET_KERNEL_VERSION_4_1_6
+ default "3.18.16" if ADK_TARGET_KERNEL_VERSION_3_18_16
+ default "3.14.45" if ADK_TARGET_KERNEL_VERSION_3_14_45
+ default "3.12.44" if ADK_TARGET_KERNEL_VERSION_3_12_44
+ default "3.10.81" if ADK_TARGET_KERNEL_VERSION_3_10_81
+ default "3.4.108" if ADK_TARGET_KERNEL_VERSION_3_4_108
+ default "3.2.69" if ADK_TARGET_KERNEL_VERSION_3_2_69
+ default "2.6.32.67" if ADK_TARGET_KERNEL_VERSION_2_6_32_67
help
Kernel Version.
diff --git a/target/linux/config/Config.in.cpu b/target/linux/config/Config.in.cpu
index f0caaea9b..30eff32a1 100644
--- a/target/linux/config/Config.in.cpu
+++ b/target/linux/config/Config.in.cpu
@@ -51,18 +51,6 @@ config ADK_KERNEL_ARM_IMX6Q_CPUFREQ
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default n
-config ADK_KERNEL_ARM_IMX6_CPUFREQ
- bool "CPU frequency support for IMX6 boards"
- select ADK_KERNEL_CPU_FREQ
- select ADK_KERNEL_REGULATOR
- select ADK_KERNEL_REGULATOR_FIXED_VOLTAGE
- select ADK_KERNEL_REGULATOR_ANATOP
- select ADK_KERNEL_REGULATOR_PFUZE100
- depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
- depends on ADK_KERNEL_VERSION_3_12
- default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
- default n
-
config ADK_KERNEL_ARM_BCM2835_CPUFREQ
bool "CPU frequency support for BCM2835 boards"
select ADK_KERNEL_CPU_FREQ
diff --git a/target/linux/config/Config.in.graphics b/target/linux/config/Config.in.graphics
index 5e5aef2d9..928053411 100644
--- a/target/linux/config/Config.in.graphics
+++ b/target/linux/config/Config.in.graphics
@@ -171,9 +171,8 @@ config ADK_KERNEL_FB_CON_DECOR
prompt "Enable fullscreen boot logo"
boolean
select ADK_PACKAGE_FBSPLASH
- depends on ADK_KERNEL_VERSION_3_19 || \
- ADK_KERNEL_VERSION_3_18 || \
- ADK_KERNEL_VERSION_3_14
+ depends on ADK_TARGET_KERNEL_VERSION_3_18 || \
+ ADK_TARGET_KERNEL_VERSION_3_14
default n
config ADK_KERNEL_FB_VESA
@@ -187,13 +186,6 @@ config ADK_KERNEL_FB_VESA
help
Framebuffer support for VirtualBox Emulator.
-config ADK_KERNEL_DRM_DW_HDMI_CEC
- tristate
- depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
- depends on ADK_KERNEL_VERSION_3_16
- default n
- help
-
config ADK_KERNEL_DRM_IMX
prompt "Framebuffer support for Cubox-i/Hummingboard"
boolean
@@ -213,7 +205,7 @@ config ADK_KERNEL_DRM_IMX
select ADK_KERNEL_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
select ADK_KERNEL_I2C_IMX
depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
- depends on ADK_KERNEL_VERSION_3_18
+ depends on ADK_TARGET_KERNEL_VERSION_3_18
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default n
help
@@ -256,7 +248,9 @@ config ADK_KERNEL_FB_PXA
select ADK_KERNEL_DUMMY_CONSOLE
select ADK_KERNEL_FRAMEBUFFER_CONSOLE
select ADK_KERNEL_FRAMEBUFFER_CONSOLE_ROTATION
- depends on ADK_TARGET_SYSTEM_SHARP_ZAURUS || ADK_TARGET_QEMU_ARM_MODEL_TERRIER || ADK_TARGET_QEMU_ARM_MODEL_SPITZ
+ depends on ADK_TARGET_SYSTEM_SHARP_ZAURUS \
+ || ADK_TARGET_QEMU_ARM_MODEL_TERRIER \
+ || ADK_TARGET_QEMU_ARM_MODEL_SPITZ
default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
default y if ADK_TARGET_QEMU_ARM_MODEL_TERRIER
default y if ADK_TARGET_QEMU_ARM_MODEL_SPITZ
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 0f81222c4..d3b6feca0 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -295,8 +295,8 @@ config ADK_KERNEL_HIGH_RES_TIMERS
comment "uses experimental external patch"
config ADK_KERNEL_PREEMPT_RT_FULL
bool "Enable Realtime support"
- depends on ADK_KERNEL_VERSION_3_18 \
- || ADK_KERNEL_VERSION_3_14
+ depends on ADK_TARGET_KERNEL_VERSION_3_18 \
+ || ADK_TARGET_KERNEL_VERSION_3_14
help
https://www.kernel.org/pub/linux/kernel/projects/rt/
diff --git a/target/linux/config/Config.in.network b/target/linux/config/Config.in.network
index 9669ba8a5..796eaa3df 100644
--- a/target/linux/config/Config.in.network
+++ b/target/linux/config/Config.in.network
@@ -259,7 +259,7 @@ config ADK_KERNEL_BONDING
#config ADK_KERNEL_MPTCP
# bool "Multipath TCP support"
# select ADK_KERNEL_IPV6
-# depends on ADK_KERNEL_VERSION_3_14
+# depends on ADK_TARGET_KERNEL_VERSION_3_14
# help
# http://www.multipath-tcp.org