diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-12-19 22:48:09 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-20 15:25:10 +0100 |
commit | dd1aa62cceff4aa9072d7933042480c20cfd07ef (patch) | |
tree | 6c2ad784d79fb0e94bfa29129982f36e252c9a22 /linux/linux.mk | |
parent | 2a27ad3d796720c6be79f13f0bc58e595584aa35 (diff) |
linux: Support multiple device tree build
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'linux/linux.mk')
-rw-r--r-- | linux/linux.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/linux.mk b/linux/linux.mk index c4bdf9090..3321d809a 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -187,10 +187,13 @@ endef ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y) ifeq ($(BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT),) define LINUX_BUILD_DTB - $(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(KERNEL_DTS_NAME).dtb + $(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) \ + $(addsuffix .dtb, $(call qstrip, $(KERNEL_DTS_NAME))) endef define LINUX_INSTALL_DTB - cp $(KERNEL_ARCH_PATH)/boot/$(KERNEL_DTS_NAME).dtb $(BINARIES_DIR)/ + cp $(addprefix $(KERNEL_ARCH_PATH)/boot/, \ + $(addsuffix .dtb, $(call qstrip, $(KERNEL_DTS_NAME)))) \ + $(BINARIES_DIR)/ endef endif endif |