Lines 16-21
KCOV_INSTRUMENT := n
Link Here
|
16 |
|
16 |
|
17 |
KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -MD -Os -mcmodel=large |
17 |
KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -MD -Os -mcmodel=large |
18 |
KBUILD_CFLAGS += -m$(BITS) |
18 |
KBUILD_CFLAGS += -m$(BITS) |
|
|
19 |
KBUILD_CFLAGS += $(call cc-option,-fno-PIE) |
19 |
|
20 |
|
20 |
$(obj)/purgatory.ro: $(PURGATORY_OBJS) FORCE |
21 |
$(obj)/purgatory.ro: $(PURGATORY_OBJS) FORCE |
21 |
$(call if_changed,ld) |
22 |
$(call if_changed,ld) |
22 |
- |
|
|
23 |
Kbuild.include already uses KBUILD_CFLAGS and trying to disable gcc |
24 |
gcc -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs |
23 |
gcc -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs |
25 |
... |
24 |
... |
26 |
-Wno-sign-compare -fno-asynchronous-unwind-tables -Wframe-address -c -x c /dev/null -o .31392.tmp |
25 |
-Wno-sign-compare -fno-asynchronous-unwind-tables -Wframe-address -c -x c /dev/null -o .31392.tmp |
27 |
/dev/null:1:0: error: code model kernel does not support PIC mode |
26 |
/dev/null:1:0: error: code model kernel does not support PIC mode |
28 |
-- |
|
|
29 |
Makefile | 7 +++---- |
27 |
Makefile | 7 +++---- |
30 |
1 file changed, 3 insertions(+), 4 deletions(-) |
28 |
1 file changed, 3 insertions(+), 4 deletions(-) |