mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 01:40:30 +00:00
4b2368ffd6
Signed-off-by: Michal Simek <monstr@monstr.eu>
20 lines
521 B
Makefile
20 lines
521 B
Makefile
#
|
|
# arch/microblaze/boot/Makefile
|
|
#
|
|
|
|
targets := linux.bin linux.bin.gz
|
|
|
|
OBJCOPYFLAGS_linux.bin := -O binary
|
|
|
|
$(obj)/linux.bin: vmlinux FORCE
|
|
[ -n $(CONFIG_INITRAMFS_SOURCE) ] && [ ! -e $(CONFIG_INITRAMFS_SOURCE) ] && \
|
|
touch $(CONFIG_INITRAMFS_SOURCE) || echo "No CPIO image"
|
|
$(call if_changed,objcopy)
|
|
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
|
|
|
|
$(obj)/linux.bin.gz: $(obj)/linux.bin FORCE
|
|
$(call if_changed,gzip)
|
|
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
|
|
|
|
clean-kernel += linux.bin linux.bin.gz
|