Makefile (b957df3b858d16ba3d4291233569bba09cfd08c7) Makefile (b1992c3772e69a6fd0e3fc81cd4d2820c8b6eca0)
1# List of files in the vdso, has to be asm only for now
2
3obj-vdso64 = note.o sigtramp.o restart_syscall.o
4
5# Build rules
6
7targets := $(obj-vdso64) vdso64.so
8obj-vdso64 := $(addprefix $(obj)/, $(obj-vdso64))

--- 26 unchanged lines hidden (view full) ---

35
36# actual build commands
37quiet_cmd_vdso64ld = VDSO64L $@
38 cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $(filter-out FORCE, $^) -o $@
39quiet_cmd_vdso64as = VDSO64A $@
40 cmd_vdso64as = $(CC) $(a_flags) -c -o $@ $<
41
42# Generate VDSO offsets using helper script
1# List of files in the vdso, has to be asm only for now
2
3obj-vdso64 = note.o sigtramp.o restart_syscall.o
4
5# Build rules
6
7targets := $(obj-vdso64) vdso64.so
8obj-vdso64 := $(addprefix $(obj)/, $(obj-vdso64))

--- 26 unchanged lines hidden (view full) ---

35
36# actual build commands
37quiet_cmd_vdso64ld = VDSO64L $@
38 cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $(filter-out FORCE, $^) -o $@
39quiet_cmd_vdso64as = VDSO64A $@
40 cmd_vdso64as = $(CC) $(a_flags) -c -o $@ $<
41
42# Generate VDSO offsets using helper script
43gen-vdsosym := $(srctree)/$(src)/gen_vdso_offsets.sh
43gen-vdsosym := $(src)/gen_vdso_offsets.sh
44quiet_cmd_vdsosym = VDSOSYM $@
45 cmd_vdsosym = $(NM) $< | $(gen-vdsosym) | LC_ALL=C sort > $@
46
47include/generated/vdso64-offsets.h: $(obj)/vdso64.so FORCE
48 $(call if_changed,vdsosym)
44quiet_cmd_vdsosym = VDSOSYM $@
45 cmd_vdsosym = $(NM) $< | $(gen-vdsosym) | LC_ALL=C sort > $@
46
47include/generated/vdso64-offsets.h: $(obj)/vdso64.so FORCE
48 $(call if_changed,vdsosym)