ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.

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

SVN-Revision: 42992
This commit is contained in:
John Crispin 2014-10-20 06:29:58 +00:00
parent 5c33e9565b
commit 32acfefb6a

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