summaryrefslogtreecommitdiff
path: root/target/aarch64/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-04-18 17:23:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-18 17:46:09 +0200
commitf134746c24f1fc8025994a7266eb254c7aec7116 (patch)
tree315caac28813870f47e5c42f533297c8654e78ab /target/aarch64/Makefile
parent1f3d0834e295a5a81a0a2957b7f85e5952651d92 (diff)
rpi3: add defconfig, try with trailer for 64bit kernel
Diffstat (limited to 'target/aarch64/Makefile')
-rw-r--r--target/aarch64/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/aarch64/Makefile b/target/aarch64/Makefile
index c96264c39..ad4c30b31 100644
--- a/target/aarch64/Makefile
+++ b/target/aarch64/Makefile
@@ -56,7 +56,12 @@ endif
endif
kernel-strip:
+ifeq ($(ADK_TARGET_KERNEL_GIT_REPO_NAME),rpi)
+ @echo adding DT trailer to kernel $(MAKE_TRACE)
+ PATH='$(HOST_PATH)' perl $(LINUX_DIR)/scripts/mkknlimg $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE)
+else
@cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
+endif
kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)