aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2014-10-03 14:36:21 -0700
committerMichael Bestas <mikeioannina@gmail.com>2014-10-04 01:08:44 +0300
commitd727add2e889ad669d54737b576177759b89bd3d (patch)
treeab59960810c200c6427cab4a5afc644da9c23ede
parentab63e69a3b53444076715b05d445996570fed1c7 (diff)
find7: Skip redundant dtc build step
* Creating dtb is now done as a step of the inline kernel build. Change-Id: I9f0689082f04999a45dfc2d62685dc342c781601
-rw-r--r--mkbootimg.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/mkbootimg.mk b/mkbootimg.mk
index 246db60..8f453de 100644
--- a/mkbootimg.mk
+++ b/mkbootimg.mk
@@ -19,13 +19,11 @@ G2_DTS_FILE = $(lastword $(subst /, ,$(1)))
DTB_FILE = $(addprefix $(KERNEL_OUT)/arch/arm/boot/,$(patsubst %.dts,%.dtb,$(call G2_DTS_FILE,$(1))))
ZIMG_FILE = $(addprefix $(KERNEL_OUT)/arch/arm/boot/,$(patsubst %.dts,%-zImage,$(call G2_DTS_FILE,$(1))))
KERNEL_ZIMG = $(KERNEL_OUT)/arch/arm/boot/zImage
-DTC = $(KERNEL_OUT)/scripts/dtc/dtc
define append-g2-dtb
mkdir -p $(KERNEL_OUT)/arch/arm/boot;\
$(foreach G2_DTS_NAME, $(G2_DTS_NAMES), \
$(foreach d, $(G2_DTS_FILES), \
- $(DTC) -p 1024 -O dtb -o $(call DTB_FILE,$(d)) $(d); \
cat $(KERNEL_ZIMG) $(call DTB_FILE,$(d)) > $(call ZIMG_FILE,$(d));))
endef