git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] i386: Relocatable kernel support
[safe/jmp/linux-2.6]
/
arch
/
i386
/
Makefile
diff --git
a/arch/i386/Makefile
b/arch/i386/Makefile
index
0677908
..
d1aca52
100644
(file)
--- a/
arch/i386/Makefile
+++ b/
arch/i386/Makefile
@@
-26,7
+26,9
@@
endif
LDFLAGS := -m elf_i386
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
-LDFLAGS_vmlinux :=
+ifdef CONFIG_RELOCATABLE
+LDFLAGS_vmlinux := --emit-relocs
+endif
CHECKFLAGS += -D__i386__
CFLAGS += -pipe -msoft-float