diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-15 08:28:29 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-15 08:28:29 +0100 |
commit | 3b3017702b1ef100c6ccf214cf3117bf5a069e4d (patch) | |
tree | 788d6bbb5c53eef3b5b640b582e6349dd9b32aee /target/arm | |
parent | e106576e5f1e68c7796b172c303cd34df2939af1 (diff) |
BCM28XX uses mkknlimg which need GNU tr, check for it otherwise compile coreutils on host
Diffstat (limited to 'target/arm')
-rw-r--r-- | target/arm/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile index 3bc254ca6..571f3a4a7 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -116,15 +116,10 @@ endif kernel-strip: @cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) -ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) - @echo adding DT trailer to kernel $(MAKE_TRACE) - -rm $(BUILD_DIR)/$(TARGET_KERNEL) - $(ADK_TOPDIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE) -endif -ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y) +ifeq ($(ADK_TARGET_BOARD_BCM28XX),y) @echo adding DT trailer to kernel $(MAKE_TRACE) -rm $(BUILD_DIR)/$(TARGET_KERNEL) - $(ADK_TOPDIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE) + PATH='$(HOST_PATH)' $(ADK_TOPDIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) $(MAKE_TRACE) endif kernel-install: kernel-strip |