1 # Include generic definitions
2 include $(ROOTDIR)/makefiles/Kbuild.include
7 # Shipped driver utils objects
8 shipped-utils := $(addsuffix _shipped, $(addprefix $(CPU)/$(KVER)/,$(utils-y)))
10 # That's what we'll do
11 always := outdir $(utils-y) $(shipped-utils)
13 # All compiled files goes here
15 @mkdir -p $(obj)/$(CPU)/$(KVER)
17 # Shipping driver utility objects
18 quiet_cmd_ship_utils = SHIPPING $<
19 cmd_ship_utils = mv $< $@
21 # Tell Makefile HOWTO ship them
22 $(addprefix $(obj)/,$(shipped-utils)): $(obj)/$(CPU)/$(KVER)/%.o_shipped: $(obj)/%.o
23 $(call cmd,ship_utils)