Makefile (f0eef25339f92f7cd4aeea23d9ae97987a5a1e82) | Makefile (4486b86368d72bcac76439638b36667b1c6a1360) |
---|---|
1# 2# linux/arch/arm/boot/compressed/Makefile 3# 4# create a compressed vmlinuz image from the original vmlinux 5# 6 7HEAD = head.o 8OBJS = misc.o | 1# 2# linux/arch/arm/boot/compressed/Makefile 3# 4# create a compressed vmlinuz image from the original vmlinux 5# 6 7HEAD = head.o 8OBJS = misc.o |
9FONTC = drivers/video/console/font_acorn_8x8.c | 9FONTC = $(srctree)/drivers/video/console/font_acorn_8x8.c |
10 | 10 |
11FONT = $(addprefix ../../../../drivers/video/console/, font_acorn_8x8.o) 12 | |
13# 14# Architecture dependencies 15# 16ifeq ($(CONFIG_ARCH_ACORN),y) | 11# 12# Architecture dependencies 13# 14ifeq ($(CONFIG_ARCH_ACORN),y) |
17OBJS += ll_char_wr.o $(FONT) | 15OBJS += ll_char_wr.o font.o |
18endif 19 20ifeq ($(CONFIG_ARCH_SHARK),y) 21OBJS += head-shark.o ofw-shark.o 22endif 23 24ifeq ($(CONFIG_ARCH_L7200),y) 25OBJS += head-l7200.o --- 42 unchanged lines hidden (view full) --- 68ZBSSADDR := $(CONFIG_ZBOOT_ROM_BSS) 69else 70ZTEXTADDR := 0 71ZBSSADDR := ALIGN(4) 72endif 73 74SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/ 75 | 16endif 17 18ifeq ($(CONFIG_ARCH_SHARK),y) 19OBJS += head-shark.o ofw-shark.o 20endif 21 22ifeq ($(CONFIG_ARCH_L7200),y) 23OBJS += head-l7200.o --- 42 unchanged lines hidden (view full) --- 66ZBSSADDR := $(CONFIG_ZBOOT_ROM_BSS) 67else 68ZTEXTADDR := 0 69ZBSSADDR := ALIGN(4) 70endif 71 72SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/ 73 |
76targets := vmlinux vmlinux.lds piggy.gz piggy.o $(FONT) \ | 74targets := vmlinux vmlinux.lds piggy.gz piggy.o font.o font.c \ |
77 head.o misc.o $(OBJS) 78EXTRA_CFLAGS := -fpic 79EXTRA_AFLAGS := 80 81# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via 82# linker symbols. We only define initrd_phys and params_phys if the 83# machine class defined the corresponding makefile variable. 84LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR) --- 15 unchanged lines hidden (view full) --- 100 $(call if_changed,ld) 101 @: 102 103$(obj)/piggy.gz: $(obj)/../Image FORCE 104 $(call if_changed,gzip) 105 106$(obj)/piggy.o: $(obj)/piggy.gz FORCE 107 | 75 head.o misc.o $(OBJS) 76EXTRA_CFLAGS := -fpic 77EXTRA_AFLAGS := 78 79# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via 80# linker symbols. We only define initrd_phys and params_phys if the 81# machine class defined the corresponding makefile variable. 82LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR) --- 15 unchanged lines hidden (view full) --- 98 $(call if_changed,ld) 99 @: 100 101$(obj)/piggy.gz: $(obj)/../Image FORCE 102 $(call if_changed,gzip) 103 104$(obj)/piggy.o: $(obj)/piggy.gz FORCE 105 |
108CFLAGS_font_acorn_8x8.o := -Dstatic= | 106CFLAGS_font.o := -Dstatic= |
109 | 107 |
108$(obj)/font.c: $(FONTC) 109 $(call cmd,shipped) 110 |
|
110$(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config 111 @sed "$(SEDFLAGS)" < $< > $@ 112 113$(obj)/misc.o: $(obj)/misc.c include/asm/arch/uncompress.h lib/inflate.c 114 | 111$(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config 112 @sed "$(SEDFLAGS)" < $< > $@ 113 114$(obj)/misc.o: $(obj)/misc.c include/asm/arch/uncompress.h lib/inflate.c 115 |