Lines Matching full:generic
2 # include/asm-generic contains a lot of files that are used
6 # and for each file listed in this file with generic-y creates
17 # $(generic)/Kbuild lists mandatory-y. Exclude um since it is a special case.
19 include $(srctree)/$(generic)/Kbuild
22 redundant := $(filter $(mandatory-y) $(generated-y), $(generic-y))
23 redundant += $(foreach f, $(generic-y), $(if $(wildcard $(srctree)/$(src)/$(f)),$(f)))
26 $(warning redundant generic-y found in $(src)/Kbuild: $(redundant)))
28 # If arch does not implement mandatory headers, fallback to asm-generic ones.
30 generic-y += $(foreach f, $(mandatory-y), $(if $(wildcard $(srctree)/$(src)/$(f)),,$(f)))
32 generic-y := $(addprefix $(obj)/, $(generic-y))
35 # Remove stale wrappers when the corresponding files are removed from generic-y
37 unwanted := $(filter-out $(generic-y) $(generated-y),$(old-headers))
40 cmd_wrap = echo "\#include <asm-generic/$*.h>" > $@
45 all: $(generic-y)