diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:51:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:51:24 +0000 |
commit | 141793c96cb9fb39f8848961bf0738976d9805ad (patch) | |
tree | 64951f9dfa93d437e347d368434a8e71715aa851 /target/linux/ar71xx | |
parent | 0afee7182025d84c771c521281799b9e76f09962 (diff) | |
download | mtk-20170518-141793c96cb9fb39f8848961bf0738976d9805ad.zip mtk-20170518-141793c96cb9fb39f8848961bf0738976d9805ad.tar.gz mtk-20170518-141793c96cb9fb39f8848961bf0738976d9805ad.tar.bz2 |
include/image.mk: introduce KERNEL_INITRAMFS_NAME variable
In case if we're interested in generation of non-binary images
(for example if we want images to be valid .elfs - and that's what we
want for ARC now) we have to instruct Device/Build/initramfs target to
use input file with some extension (in case of ARC it will be
essentially .elf).
Otherwise default binary vmlinux-initramfs (without extension) is used and
resulting images then are binaries instead of elfs.
Now having KERNEL_INITRAMFS_NAME variable it's possible to substitute
default $$(KERNEL_NAME)-initramfs with preferred option like
$$(KERNEL_NAME)-initramfs.elf.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
SVN-Revision: 47403
Diffstat (limited to 'target/linux/ar71xx')
0 files changed, 0 insertions, 0 deletions