mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
9d97556860
arch/csky/boot/Makefile does not build DTB, arch/csky/boot/dts/Makefile does. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Guo Ren <guoren@kernel.org>
25 lines
674 B
Makefile
25 lines
674 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
targets := Image zImage uImage
|
|
|
|
$(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'
|