diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-24 22:01:28 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-11-24 22:02:57 +0100 |
commit | 49a817b44be5695a87f6b4c8eadef3bb0f9419f9 (patch) | |
tree | 8856913f024d46dcf9a101caa7228a6af5681df6 /target | |
parent | 301795aced0720686b10b02b38f7459203e10ee5 (diff) |
add special repository short names
They can be used elsewhere in the code when this kernels
are used or need special handling.
Bug reported by Diez for RPI kernels.
Diffstat (limited to 'target')
-rw-r--r-- | target/arm/Makefile | 2 | ||||
-rw-r--r-- | target/config/Config.in.kernelversion | 11 |
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 |