cifs: update ctime and mtime during truncate
[linux/fpc-iii.git] / scripts / mod / Makefile
blobb497d9764dcf02e0dd1abab386faef3af8b65499
1 OBJECT_FILES_NON_STANDARD := y
3 hostprogs-y := modpost mk_elfconfig
4 always := $(hostprogs-y) empty.o
6 modpost-objs := modpost.o file2alias.o sumversion.o
8 devicetable-offsets-file := devicetable-offsets.h
10 $(obj)/$(devicetable-offsets-file): $(obj)/devicetable-offsets.s FORCE
11 $(call filechk,offsets,__DEVICETABLE_OFFSETS_H__)
13 targets += $(devicetable-offsets-file) devicetable-offsets.s
15 # dependencies on generated files need to be listed explicitly
17 $(obj)/modpost.o $(obj)/file2alias.o $(obj)/sumversion.o: $(obj)/elfconfig.h
18 $(obj)/file2alias.o: $(obj)/$(devicetable-offsets-file)
20 quiet_cmd_elfconfig = MKELF $@
21 cmd_elfconfig = $(obj)/mk_elfconfig < $< > $@
23 $(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE
24 $(call if_changed,elfconfig)
26 targets += elfconfig.h