aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/Makefile
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-07-04 12:48:52 +0000
committerLuka Perkov <luka@openwrt.org>2013-07-04 12:48:52 +0000
commite8c98290c854a7fe37bcb2c4427671c0f90760f4 (patch)
tree49143de3145d7f054096ff9251565091f59a95d5 /target/linux/ar71xx/image/Makefile
parentf734ba771b7e5ef212d594a1ca3f557cae792d1f (diff)
downloadupstream-e8c98290c854a7fe37bcb2c4427671c0f90760f4.tar.gz
upstream-e8c98290c854a7fe37bcb2c4427671c0f90760f4.tar.bz2
upstream-e8c98290c854a7fe37bcb2c4427671c0f90760f4.zip
ar71xx: $(KDIR_TMP) must be present before starting initramfs build
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37155 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/image/Makefile')
-rw-r--r--target/linux/ar71xx/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 6f23263dbd..18f1c5e445 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -191,6 +191,7 @@ define Image/BuildKernel
$(call MkuImage,gzip,,$(KDIR)/vmlinux.bin.gz,$(UIMAGE)-gzip.bin)
$(call MkuImage,lzma,,$(KDIR)/vmlinux.bin.lzma,$(UIMAGE)-lzma.bin)
cp $(KDIR)/loader-generic.elf $(VMLINUX)-lzma.elf
+ -mkdir -p $(KDIR_TMP)
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
cp $(KDIR)/vmlinux-initramfs.elf $(VMLINUX)-initramfs.elf
cp $(KDIR)/vmlinux-initramfs $(VMLINUX)-initramfs.bin
@@ -201,7 +202,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
cp $(KDIR)/loader-generic.elf $(VMLINUX)-initramfs-lzma.elf
$(call Image/Build/Initramfs)
endif
- -mkdir -p $(KDIR_TMP)
endef
define Image/Build/WRT400N