summaryrefslogtreecommitdiffstats
path: root/kbuild-AFTER_LINK.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@redhat.com>2016-08-12 16:43:15 -0500
committerJustin M. Forbes <jforbes@redhat.com>2016-08-12 16:43:15 -0500
commit28b020a75e542cae1a7652967702b359d97b5aec (patch)
tree74d0d4aa95797b8c1fc6b3a7d7294b7d6e5343b9 /kbuild-AFTER_LINK.patch
parent84f878999cf91361811129e10d0b4af9b34a06cc (diff)
downloadkernel-28b020a75e542cae1a7652967702b359d97b5aec.tar.gz
kernel-28b020a75e542cae1a7652967702b359d97b5aec.tar.xz
kernel-28b020a75e542cae1a7652967702b359d97b5aec.zip
Linux v4.8-rc1-166-g9909170
Diffstat (limited to 'kbuild-AFTER_LINK.patch')
-rw-r--r--kbuild-AFTER_LINK.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbuild-AFTER_LINK.patch b/kbuild-AFTER_LINK.patch
index 7e8cba5b9..d79a6186b 100644
--- a/kbuild-AFTER_LINK.patch
+++ b/kbuild-AFTER_LINK.patch
@@ -42,8 +42,8 @@ index 6abffb7..7b103bb 100644
# actual build commands
quiet_cmd_vdso32ld = VDSO32L $@
-- cmd_vdso32ld = $(CROSS32CC) $(c_flags) -Wl,-T $^ -o $@
-+ cmd_vdso32ld = $(CROSS32CC) $(c_flags) -Wl,-T $^ -o $@ \
+- cmd_vdso32ld = $(CROSS32CC) $(c_flags) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^)
++ cmd_vdso32ld = $(CROSS32CC) $(c_flags) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) \
+ $(if $(AFTER_LINK),; $(AFTER_LINK))
quiet_cmd_vdso32as = VDSO32A $@
cmd_vdso32as = $(CROSS32CC) $(a_flags) -c -o $@ $<
@@ -56,8 +56,8 @@ index 8c8f2ae..a743ebe 100644
# actual build commands
quiet_cmd_vdso64ld = VDSO64L $@
-- cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $^ -o $@
-+ cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $^ -o $@ \
+- cmd_vdso64ld = $(CC) $(c_flags) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^)
++ cmd_vdso64ld = $(CC) $(c_flags) -o $@ -Wl,-T$(filter %.lds,$^) $(filter %.o,$^) \
+ $(if $(AFTER_LINK),; $(AFTER_LINK))
quiet_cmd_vdso64as = VDSO64A $@
cmd_vdso64as = $(CC) $(a_flags) -c -o $@ $<