aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-03-31 08:56:08 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-03-31 08:56:08 +0000
commit6c1852cb267f3777a71afdb7fc104e71169b7c0f (patch)
treec8f38b1ca8a9765fd750a94d1aac8eefb8d06558 /target
parentcc9600a1eb29da22596addc0e95c85323ceea2c1 (diff)
downloadupstream-6c1852cb267f3777a71afdb7fc104e71169b7c0f.tar.gz
upstream-6c1852cb267f3777a71afdb7fc104e71169b7c0f.tar.bz2
upstream-6c1852cb267f3777a71afdb7fc104e71169b7c0f.zip
brcm47xx: image: use standard KERNEL_IMAGE to avoid warnings
KERNEL_IMAGE is used as target rule so reusing the same name causes: Makefile:326: warning: overriding recipe for target `bin/brcm47xx/vmlinux.lzma' Makefile:326: warning: ignoring old recipe for target `bin/brcm47xx/vmlinux.lzma' Makefile:326: warning: overriding recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma' Makefile:326: warning: ignoring old recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma' Unfortunately this will cause copying vmlinux.lzma over and over like: cp vmlinux.lzma FOO-kernel.bin which is redundant on brcm47xx where we never modify kernel image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45178
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm47xx/image/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile
index 9c0fa2d7f1..89ea89393a 100644
--- a/target/linux/brcm47xx/image/Makefile
+++ b/target/linux/brcm47xx/image/Makefile
@@ -138,8 +138,9 @@ DEVICE_VARS += DEVICE_ID VERSION
DEVICE_VARS += BOARD_ID REGION
define Device/Default
+ KERNEL := kernel-bin
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2)
- KERNEL_IMAGE = vmlinux.lzma
+ KERNEL_NAME = vmlinux.lzma
FILESYSTEMS := $(FS_64K)
IMAGES := trx
IMAGE/trx := trx-with-loader