Blame view
arch/ia64/kernel/Makefile.gate
924 Bytes
e4ff5b8f5 ia64/pv_ops: gate... |
1 2 3 4 5 6 7 8 9 10 11 12 |
# The gate DSO image is built using a special linker script. targets += gate.so gate-syms.o extra-y += gate.so gate-syms.o gate.lds gate.o CPPFLAGS_gate.lds := -P -C -U$(ARCH) quiet_cmd_gate = GATE $@ cmd_gate = $(CC) -nostdlib $(GATECFLAGS_$(@F)) -Wl,-T,$(filter-out FORCE,$^) -o $@ GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \ |
f86fd3066 kbuild: rename ld... |
13 |
$(call cc-ldoption, -Wl$(comma)--hash-style=sysv) |
e4ff5b8f5 ia64/pv_ops: gate... |
14 15 16 17 18 19 20 21 22 |
$(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE $(call if_changed,gate) $(obj)/built-in.o: $(obj)/gate-syms.o $(obj)/built-in.o: ld_flags += -R $(obj)/gate-syms.o GATECFLAGS_gate-syms.o = -r $(obj)/gate-syms.o: $(obj)/gate.lds $(obj)/gate.o FORCE $(call if_changed,gate) |
e1cb14b85 Rename .data.gate... |
23 |
# gate-data.o contains the gate DSO image as data in section .data..gate. |
e4ff5b8f5 ia64/pv_ops: gate... |
24 25 26 |
# We must build gate.so before we can assemble it. # Note: kbuild does not track this dependency due to usage of .incbin $(obj)/gate-data.o: $(obj)/gate.so |