summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--core/kconfig/linux-generic.kconfig8
-rw-r--r--core/kconfig/linux-kconfigs/linux-4.1.kconfig28
-rw-r--r--packages/htools/hosttools-buildopts.kconfig4
4 files changed, 41 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1283f5d..77f4042 100644
--- a/Makefile
+++ b/Makefile
@@ -22,16 +22,16 @@
# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date May 2009
################################################################################
-VERSION := 1
+VERSION := 1
PATCHLEVEL := 10
SUBLEVEL := 0
EXTRAVERSION :=
EMBTK_VERSION := \
- $(shell \
+ $(shell \
dversion=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION); \
if [ -e .git ]; then \
version=$$(scripts/setlocalversion .); \
- if [ "x$$version" = "x" ]; then \
+ if [ "x$$version" = "x" ]; then \
echo $$dversion; \
else \
echo $$dversion-$$version; \
diff --git a/core/kconfig/linux-generic.kconfig b/core/kconfig/linux-generic.kconfig
index b78bf56..8d8fa8e 100644
--- a/core/kconfig/linux-generic.kconfig
+++ b/core/kconfig/linux-generic.kconfig
@@ -28,6 +28,10 @@ choice
help
Here you can choose which Linux kernel headers you want to use.
+ config EMBTK_LINUX_VERSION_4_1_X
+ bool "linux-4.1.x"
+ help
+ Use a linux-4.1.x version.
config EMBTK_LINUX_VERSION_4_0_X
bool "linux-4.0.x"
help
@@ -146,6 +150,10 @@ choice
Use a linux-2.6.32.x version.
endchoice
+if EMBTK_LINUX_VERSION_4_1_X
+source core/kconfig/linux-kconfigs/linux-4.1.kconfig
+endif
+
if EMBTK_LINUX_VERSION_4_0_X
source core/kconfig/linux-kconfigs/linux-4.0.kconfig
endif
diff --git a/core/kconfig/linux-kconfigs/linux-4.1.kconfig b/core/kconfig/linux-kconfigs/linux-4.1.kconfig
new file mode 100644
index 0000000..cb1338c
--- /dev/null
+++ b/core/kconfig/linux-kconfigs/linux-4.1.kconfig
@@ -0,0 +1,28 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2018 Abdoulaye Walsimou GAYE.
+#
+#############################################################################
+#
+# \file linux-4.1.kconfig
+# \brief linux v4.1.x series
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date August 2018
+################################################################################
+
+choice
+ prompt "Linux v4.1.x series exact version used."
+ help
+ Linux v4.1.x series exact version used.
+
+ config EMBTK_LINUX_VERSION_4_1_52
+ bool "linux-4.1.52"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "4.1.52"
+
+config EMBTK_LINUX_MAJOR_VERSION_STRING
+ string
+ default "v4.x"
diff --git a/packages/htools/hosttools-buildopts.kconfig b/packages/htools/hosttools-buildopts.kconfig
index 6dd450c..a4c1f56 100644
--- a/packages/htools/hosttools-buildopts.kconfig
+++ b/packages/htools/hosttools-buildopts.kconfig
@@ -52,9 +52,9 @@ config EMBTK_DOWNLOAD_DIR
config EMBTK_WIPEOUTWORKSPACES
bool "Wipe out packages workspace after successful build"
help
- Wipe out packages workspace after successful build. If is highly
+ Wipe out packages workspace after successful build. It is highly
recommended to enable this option if you want to save disk space on you
- host development.
+ host development machine.
config EMBTK_CACHE_PATCHES
bool "Preserve first downloaded patches and do not download new one"