summaryrefslogtreecommitdiff
path: root/target
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
commit7b6e3df6abef2070c26604520b8392e0808bac63 (patch)
tree134baa18abd9a39391a663921e464f73d066b082 /target
parentfb81a9b5ed2fa8d5ba4e7d00826b5ba1f0344d4f (diff)
downloadmtk-20170518-7b6e3df6abef2070c26604520b8392e0808bac63.zip
mtk-20170518-7b6e3df6abef2070c26604520b8392e0808bac63.tar.gz
mtk-20170518-7b6e3df6abef2070c26604520b8392e0808bac63.tar.bz2
ar71xx: $(KDIR_TMP) must be present before starting initramfs build
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37155
Diffstat (limited to 'target')
-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 6f23263..18f1c5e 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