|
@@ -582,7 +582,7 @@ define Device/Build/dtb
|
|
$(KDIR)/image-$(1).dtb: FORCE
|
|
$(KDIR)/image-$(1).dtb: FORCE
|
|
$(call Image/BuildDTB,$(strip $(2))/$(strip $(3)).dts,$$@)
|
|
$(call Image/BuildDTB,$(strip $(2))/$(strip $(3)).dts,$$@)
|
|
|
|
|
|
- image_prepare: $(KDIR)/image-$(1).dtb
|
|
|
|
|
|
+ compile-dtb: $(KDIR)/image-$(1).dtb
|
|
endif
|
|
endif
|
|
|
|
|
|
endef
|
|
endef
|
|
@@ -593,7 +593,7 @@ define Device/Build/dtbo
|
|
$(KDIR)/image-$(1).dtbo: FORCE
|
|
$(KDIR)/image-$(1).dtbo: FORCE
|
|
$(call Image/BuildDTBO,$(strip $(2))/$(strip $(3)).dtso,$$@)
|
|
$(call Image/BuildDTBO,$(strip $(2))/$(strip $(3)).dtso,$$@)
|
|
|
|
|
|
- image_prepare: $(KDIR)/image-$(1).dtbo
|
|
|
|
|
|
+ compile-dtb: $(KDIR)/image-$(1).dtbo
|
|
endif
|
|
endif
|
|
|
|
|
|
endef
|
|
endef
|
|
@@ -841,18 +841,20 @@ define BuildImage
|
|
download:
|
|
download:
|
|
prepare:
|
|
prepare:
|
|
compile:
|
|
compile:
|
|
|
|
+ compile-dtb:
|
|
clean:
|
|
clean:
|
|
image_prepare:
|
|
image_prepare:
|
|
|
|
|
|
ifeq ($(IB),)
|
|
ifeq ($(IB),)
|
|
- .PHONY: download prepare compile clean image_prepare kernel_prepare install install-images
|
|
|
|
|
|
+ .PHONY: download prepare compile compile-dtb clean image_prepare kernel_prepare install install-images
|
|
compile:
|
|
compile:
|
|
$(call Build/Compile)
|
|
$(call Build/Compile)
|
|
|
|
|
|
clean:
|
|
clean:
|
|
$(call Build/Clean)
|
|
$(call Build/Clean)
|
|
|
|
|
|
- image_prepare: compile
|
|
|
|
|
|
+ compile-dtb:
|
|
|
|
+ image_prepare: compile compile-dtb
|
|
mkdir -p $(BIN_DIR) $(KDIR)/tmp
|
|
mkdir -p $(BIN_DIR) $(KDIR)/tmp
|
|
rm -rf $(BUILD_DIR)/json_info_files
|
|
rm -rf $(BUILD_DIR)/json_info_files
|
|
$(call Image/Prepare)
|
|
$(call Image/Prepare)
|