ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.
authorJohn Crispin <john@openwrt.org>
Mon, 20 Oct 2014 06:29:58 +0000 (06:29 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 20 Oct 2014 06:29:58 +0000 (06:29 +0000)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 42992

target/linux/ar71xx/image/Makefile

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