updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emc2 / Submakefile
blob94f39c4e61a3fa265fa4b4b458719ee89771b48d
1 hal/drivers/pluto_servo_rbf.h: hal/drivers/pluto_servo_firmware/pluto_servo.rbf hal/drivers/rbf2h.py
2         $(PYTHON) hal/drivers/rbf2h.py -g \
3     -c "This is a component of pluto_servo, a PWM servo driver and" \
4     -c "quadrature counter for emc2" \
5     -c "Copyright (C) 2006, 2007 Jeff Epler" \
6             $< > $@
8 hal/drivers/pluto_step_rbf.h: hal/drivers/pluto_step_firmware/pluto_step.rbf hal/drivers/rbf2h.py
9         $(PYTHON) hal/drivers/rbf2h.py -g \
10     -c "This is a component of pluto_step, a hardware step generator for emc2" \
11     -c "Copyright (C) 2006, 2007 Jeff Epler" \
12             $< > $@
14 hal/drivers/m5i20_HM5-4E.h: hal/drivers/m5i20/bit/hostmot5_4.bit ../bin/m5i20cfg
15         ../bin/m5i20cfg $< > $@
18 clean: pluto_clean
19 pluto_clean:
20         rm  -rf \
21             pluto_servo_firmware/db \
22             pluto_servo_firmware/pluto_servo.asm.rpt \
23             pluto_servo_firmware/pluto_servo.done \
24             pluto_servo_firmware/pluto_servo.fit.rpt \
25             pluto_servo_firmware/pluto_servo.fit.summary \
26             pluto_servo_firmware/pluto_servo.flow.rpt \
27             pluto_servo_firmware/pluto_servo.map.rpt \
28             pluto_servo_firmware/pluto_servo.map.summary \
29             pluto_servo_firmware/pluto_servo.pin \
30             pluto_servo_firmware/pluto_servo.pof \
31             pluto_servo_firmware/pluto_servo.qws \
32             pluto_servo_firmware/pluto_servo.rbf \
33             pluto_servo_firmware/pluto_servo.sof \
34             pluto_servo_firmware/pluto_servo.tan.rpt \
35             pluto_servo_firmware/pluto_servo.tan.summary \
36             pluto_servo_firmware/undo_redo.txt
38 # The kernel's build system won't know how to rebuild generated files
39 # so modules must depend on them explicitly
40 ifneq ($(BUILD_SYS),sim)
41 modules:                                                         \
42     hal/drivers/pluto_servo_rbf.h                                \
43     hal/drivers/m5i20_HM5-4E.h                                   \
44     hal/drivers/pluto_step_rbf.h
45 endif