ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42992 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2014-10-20 06:29:58 +00:00
parent 96ea58bf32
commit 27802dad51
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ define Image/BuildKernel
$(call MkuImage,lzma,,$(KDIR)/vmlinux.bin.lzma,$(UIMAGE)-lzma.bin) $(call MkuImage,lzma,,$(KDIR)/vmlinux.bin.lzma,$(UIMAGE)-lzma.bin)
cp $(KDIR)/loader-generic.elf $(VMLINUX)-lzma.elf cp $(KDIR)/loader-generic.elf $(VMLINUX)-lzma.elf
-mkdir -p $(KDIR_TMP) -mkdir -p $(KDIR_TMP)
$(call Image/Build/Profile/$(PROFILE),buildkernel) $(call Image/Build/Profile/$(IMAGE_PROFILE),buildkernel)
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
cp $(KDIR)/vmlinux-initramfs.elf $(VMLINUX)-initramfs.elf cp $(KDIR)/vmlinux-initramfs.elf $(VMLINUX)-initramfs.elf
cp $(KDIR)/vmlinux-initramfs $(VMLINUX)-initramfs.bin cp $(KDIR)/vmlinux-initramfs $(VMLINUX)-initramfs.bin