mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
ec8f24b7fa
Add SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any form These files fall under the project license, GPL v2 only. The resulting SPDX license identifier is: GPL-2.0-only Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
694 B
Makefile
26 lines
694 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
targets := Image zImage uImage
|
|
targets += $(dtb-y)
|
|
|
|
$(obj)/Image: vmlinux FORCE
|
|
$(call if_changed,objcopy)
|
|
@echo ' Kernel: $@ is ready'
|
|
|
|
compress-$(CONFIG_KERNEL_GZIP) = gzip
|
|
compress-$(CONFIG_KERNEL_LZO) = lzo
|
|
compress-$(CONFIG_KERNEL_LZMA) = lzma
|
|
compress-$(CONFIG_KERNEL_XZ) = xzkern
|
|
compress-$(CONFIG_KERNEL_LZ4) = lz4
|
|
|
|
$(obj)/zImage: $(obj)/Image FORCE
|
|
$(call if_changed,$(compress-y))
|
|
@echo ' Kernel: $@ is ready'
|
|
|
|
UIMAGE_ARCH = sandbox
|
|
UIMAGE_COMPRESSION = $(compress-y)
|
|
UIMAGE_LOADADDR = $(shell $(NM) vmlinux | awk '$$NF == "_start" {print $$1}')
|
|
|
|
$(obj)/uImage: $(obj)/zImage
|
|
$(call if_changed,uimage)
|
|
@echo 'Image: $@ is ready'
|