summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.31/032-mips_vmlinux_lds.patch
blob: 807a9444f4126e98ea3dbef7be6213d417b43894 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -4,6 +4,8 @@
 
 CPPFLAGS_vmlinux.lds := $(KBUILD_CFLAGS)
 
+CPPFLAGS_vmlinux.lds := $(KBUILD_CFLAGS) $(EXTRA_LDSFLAGS)
+
 extra-y		:= head.o init_task.o vmlinux.lds
 
 obj-y		+= cpu-probe.o branch.o entry.o genex.o irq.o process.o \