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