forked from luck/tmp_suning_uos_patched
2f3c7b8137
Signed-off-by: Helge Deller <deller@gmx.de>
27 lines
689 B
Makefile
27 lines
689 B
Makefile
#
|
|
# Makefile for the linux parisc-specific parts of the boot image creator.
|
|
#
|
|
|
|
COMPILE_VERSION := __linux_compile_version_id__`hostname | \
|
|
tr -c '[0-9A-Za-z]' '_'`__`date | \
|
|
tr -c '[0-9A-Za-z]' '_'`_t
|
|
|
|
ccflags-y := -DCOMPILE_VERSION=$(COMPILE_VERSION) -gstabs -I.
|
|
|
|
targets := image
|
|
targets += bzImage
|
|
subdir- := compressed
|
|
|
|
$(obj)/image: vmlinux FORCE
|
|
$(call if_changed,objcopy)
|
|
|
|
$(obj)/bzImage: $(obj)/compressed/vmlinux FORCE
|
|
$(call if_changed,objcopy)
|
|
|
|
$(obj)/compressed/vmlinux: FORCE
|
|
$(Q)$(MAKE) $(build)=$(obj)/compressed $@
|
|
|
|
install: $(CONFIGURE) $(obj)/bzImage
|
|
sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
|
|
System.map "$(INSTALL_PATH)"
|