summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/arm/Makefile2
-rw-r--r--target/config/Config.in.kernelversion11
2 files changed, 12 insertions, 1 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index dd5542e1e..bdf1cbfa5 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -136,7 +136,7 @@ targethelp:
endif
kernel-strip:
-ifeq ($(ADK_TARGET_KERNEL_VERSION_RPI),y)
+ifeq ($(ADK_TARGET_KERNEL_REPO_NAME),rpi)
@echo adding DT trailer to kernel $(MAKE_TRACE)
PATH='$(HOST_PATH)' perl $(LINUX_DIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
else
diff --git a/target/config/Config.in.kernelversion b/target/config/Config.in.kernelversion
index 926662347..c9e99777b 100644
--- a/target/config/Config.in.kernelversion
+++ b/target/config/Config.in.kernelversion
@@ -186,6 +186,17 @@ config ADK_TARGET_KERNEL_REPO
help
GIT repository to use.
+config ADK_TARGET_KERNEL_REPO_NAME
+ string
+ depends on ADK_TARGET_KERNEL_VERSION_GIT
+ default "rpi" if ADK_TARGET_BOARD_BCM28XX
+ default "fslc" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+ default "clearfog" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
+ default "bb" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
+ default "or1k" if ADK_TARGET_ARCH_OR1K
+ default "lm32" if ADK_TARGET_ARCH_LM32
+ default "linus"
+
config ADK_TARGET_KERNEL_GITVER
string "git version"
depends on ADK_TARGET_KERNEL_VERSION_GIT