|
@@ -37,7 +37,11 @@ define Build/package-kernel-ubifs
|
|
|
endef
|
|
|
|
|
|
define Build/append-image
|
|
|
- dd if=$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1) >> $@
|
|
|
+ cp "$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1)" "[email protected]"
|
|
|
+ fwtool -s /dev/null -t "[email protected]" || :
|
|
|
+ fwtool -i /dev/null -t "[email protected]" || :
|
|
|
+ dd if="[email protected]" >> "$@"
|
|
|
+ rm "[email protected]"
|
|
|
endef
|
|
|
|
|
|
ifdef IB
|
|
@@ -46,8 +50,12 @@ define Build/append-image-stage
|
|
|
endef
|
|
|
else
|
|
|
define Build/append-image-stage
|
|
|
- dd if=$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1) of=$(STAGING_DIR_IMAGE)/$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))-$(DEVICE_NAME)-$(1)
|
|
|
- dd if=$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1) >> $@
|
|
|
+ cp "$(BIN_DIR)/$(DEVICE_IMG_PREFIX)-$(1)" "[email protected]"
|
|
|
+ fwtool -s /dev/null -t "[email protected]" || :
|
|
|
+ fwtool -i /dev/null -t "[email protected]" || :
|
|
|
+ dd if="[email protected]" of="$(STAGING_DIR_IMAGE)/$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))-$(DEVICE_NAME)-$(1)"
|
|
|
+ dd if="[email protected]" >> "$@"
|
|
|
+ rm "[email protected]"
|
|
|
endef
|
|
|
endif
|
|
|
|