Commit 2e8556ce authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Shipped file fixes

To generate the module versions for 53c700.o, we need the included
generated header already.

Improve the rule to copy shipped files into place.
parent 99fd37ec
......@@ -409,8 +409,9 @@ endif # ! fastdep
# Shipped files
# ===========================================================================
%: %_shipped
cp $< $@
%:: %_shipped
@echo ' CP $(RELDIR)/$@'
@cp $< $@
# ===========================================================================
# Generic stuff
......
......@@ -129,14 +129,12 @@ a100u2w-objs := inia100.o i60uscsi.o
cpqfc-objs := cpqfcTSinit.o cpqfcTScontrol.o cpqfcTSi2c.o \
cpqfcTSworker.o cpqfcTStrigger.o
EXTRA_TARGETS := 53c8xx_d.h 53c7xx_d.h sim710_d.h 53c700_d.h
include $(TOPDIR)/Rules.make
53c7,8xx.o: 53c8xx_d.h 53c8xx_u.h
53c7xx.o: 53c7xx_d.h 53c7xx_u.h
sim710.o: sim710_d.h
53c700.o: 53c700_d.h
53c700.o $(MODVERDIR)/53c700.ver: 53c700_d.h
# If you want to play with the firmware, uncomment
# GENERATE_FIRMWARE := 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment