summaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-29 04:13:24 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-01 15:09:34 +0100
commit60df1aee2aecb53efb4218b4dfdf7d6c80a5a3de (patch)
tree2fb422b14d1dcc32e4eaed5a6b22179514fe4729 /scripts/mod
parentkbuild: fix UML build error with CONFIG_GCC_PLUGINS (diff)
downloadlinux-60df1aee2aecb53efb4218b4dfdf7d6c80a5a3de.tar.xz
linux-60df1aee2aecb53efb4218b4dfdf7d6c80a5a3de.zip
kbuild: move modpost out of 'scripts' target
I am eagar to build under the scripts/ directory only with $(HOSTCC), but scripts/mod/ highly depends on the $(CC) and target arch headers. That it why the 'scripts' target must depend on 'asm-generic', 'gcc-plugins', and $(autoksyms_h). Move it to the 'prepare0' stage. I know this is a cheesy workaround, but better than the current situation. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/mod/Makefile b/scripts/mod/Makefile
index a5b4af47987a..42c5d50f2bcc 100644
--- a/scripts/mod/Makefile
+++ b/scripts/mod/Makefile
@@ -4,8 +4,6 @@ OBJECT_FILES_NON_STANDARD := y
hostprogs-y := modpost mk_elfconfig
always := $(hostprogs-y) empty.o
-CFLAGS_REMOVE_empty.o := $(ASM_MACRO_FLAGS)
-
modpost-objs := modpost.o file2alias.o sumversion.o
devicetable-offsets-file := devicetable-offsets.h