diff options
Diffstat (limited to 'target/linux/mpc85xx/image/Makefile')
-rw-r--r-- | target/linux/mpc85xx/image/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index 2b81884032..e1d1bc6948 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -3,6 +3,12 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk +DEVICE_VARS += DTB_SIZE + +define Build/dtb + $(call Image/BuildDTB,$(DTS_DIR)/$(DEVICE_DTS).dts,$@.dtb,,--space $(DTB_SIZE)) +endef + define Device/Default PROFILES := Default DEVICE_DTS := $(lastword $(subst _, ,$(1))) |