diff options
Diffstat (limited to 'scripts/Makefile')
| -rw-r--r-- | scripts/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index 59bdaae2e5b7..eeed3759799e 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -9,9 +9,11 @@ # conmakehash: Create arrays for initializing the kernel console tables host-progs := fixdep split-include conmakehash docproc kallsyms modpost \ - file2alias mk_elfconfig + mk_elfconfig build-targets := $(host-progs) empty.o +modpost-objs := modpost.o file2alias.o + # Let clean descend into subdirs subdir- := lxdialog kconfig @@ -20,12 +22,12 @@ $(addprefix $(obj)/,$(filter-out fixdep,$(host-progs))): $(obj)/fixdep # dependencies on generated files need to be listed explicitly -$(obj)/file2alias: $(obj)/elfconfig.h +$(obj)/modpost.o $(obj)/file2alias.o: $(obj)/elfconfig.h -quiet_cmd_elfconfig = MKTARGET $@ +quiet_cmd_elfconfig = MKELF $@ cmd_elfconfig = $(obj)/mk_elfconfig < $< > $@ $(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE $(call if_changed,elfconfig) -targets += $(obj)/target.h +targets += $(obj)/elfconfig.h |
