diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-07-26 11:42:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-07-26 11:42:27 +0000 |
commit | c667d85f6745e3b221ba4c596a7c639006aa7f68 (patch) | |
tree | adf74a0fb2c8f9037ed6dcb65430aaf316889494 /include | |
parent | a34f3de21b593c8fe06cafe0a1d60e5cce5ae77d (diff) | |
download | master-187ad058-c667d85f6745e3b221ba4c596a7c639006aa7f68.tar.gz master-187ad058-c667d85f6745e3b221ba4c596a7c639006aa7f68.tar.bz2 master-187ad058-c667d85f6745e3b221ba4c596a7c639006aa7f68.zip |
image: fix device variable exports for initramfs images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46496 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/image.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk index a20e090fe7..470a5dafeb 100644 --- a/include/image.mk +++ b/include/image.mk @@ -392,6 +392,7 @@ endef ifndef IB define Device/Build/initramfs + $(call Device/Export,$(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE),$(1)) $$(_TARGET): $(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE) $(KDIR)/$$(KERNEL_NAME)-initramfs: image_prepare @@ -439,7 +440,6 @@ endef define Device/Build/image $$(_TARGET): $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)) $(eval $(call Device/Export,$(KDIR)/$(KERNEL_IMAGE),$(1))) - $(eval $(call Device/Export,$(KDIR)/tmp/$(KERNEL_INITRAMFS_IMAGE),$(1))) $(eval $(call Device/Export,$(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)),$(1))) $(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)): $(KDIR)/$$(KERNEL_IMAGE) $(KDIR)/root.$(1) @rm -f $$@ |