|
@@ -151,6 +151,8 @@ $(1)_IMAGE_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_IMAGE_FILE))
|
|
define $(1)_INSTALL_IMAGES_CMDS
|
|
define $(1)_INSTALL_IMAGES_CMDS
|
|
if test -n "$$($(1)_IMAGE_FILES)"; then \
|
|
if test -n "$$($(1)_IMAGE_FILES)"; then \
|
|
cp -L $$(foreach image,$$($(1)_IMAGE_FILES),$$(@D)/$$(image)) $$(BINARIES_DIR) ; \
|
|
cp -L $$(foreach image,$$($(1)_IMAGE_FILES),$$(@D)/$$(image)) $$(BINARIES_DIR) ; \
|
|
|
|
+ elif test -e $$(@D)/barebox-flash-images ; then \
|
|
|
|
+ cp -L $$(foreach image,$$(shell cat $$(@D)/barebox-flash-images),$$(@D)/$$(image)) $$(BINARIES_DIR) ; \
|
|
elif test -h $$(@D)/barebox-flash-image ; then \
|
|
elif test -h $$(@D)/barebox-flash-image ; then \
|
|
cp -L $$(@D)/barebox-flash-image $$(BINARIES_DIR)/barebox.bin ; \
|
|
cp -L $$(@D)/barebox-flash-image $$(BINARIES_DIR)/barebox.bin ; \
|
|
else \
|
|
else \
|