diff options
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 5e7c40e1654..a1a5cf95a68 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -118,7 +118,7 @@ endif | |||
118 | modkern_cflags = \ | 118 | modkern_cflags = \ |
119 | $(if $(part-of-module), \ | 119 | $(if $(part-of-module), \ |
120 | $(KBUILD_CFLAGS_MODULE) $(CFLAGS_MODULE), \ | 120 | $(KBUILD_CFLAGS_MODULE) $(CFLAGS_MODULE), \ |
121 | $(CFLAGS_KERNEL)) | 121 | $(KBUILD_CFLAGS_KERNEL) $(CFLAGS_KERNEL)) |
122 | quiet_modtag := $(empty) $(empty) | 122 | quiet_modtag := $(empty) $(empty) |
123 | 123 | ||
124 | $(real-objs-m) : part-of-module := y | 124 | $(real-objs-m) : part-of-module := y |
@@ -251,7 +251,7 @@ $(obj)/%.lst: $(src)/%.c FORCE | |||
251 | # Compile assembler sources (.S) | 251 | # Compile assembler sources (.S) |
252 | # --------------------------------------------------------------------------- | 252 | # --------------------------------------------------------------------------- |
253 | 253 | ||
254 | modkern_aflags := $(AFLAGS_KERNEL) | 254 | modkern_aflags := $(KBUILD_AFLAGS_KERNEL) $(AFLAGS_KERNEL) |
255 | 255 | ||
256 | $(real-objs-m) : modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) | 256 | $(real-objs-m) : modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) |
257 | $(real-objs-m:.o=.s): modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) | 257 | $(real-objs-m:.o=.s): modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) |