ar71xx: $(KDIR_TMP) must be present before starting initramfs build
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37155
This commit is contained in:
parent
fb81a9b5ed
commit
7b6e3df6ab
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue