2011-04-20 14:13:27 +03:00
|
|
|
#
|
2011-05-28 13:03:20 +03:00
|
|
|
# prod/Makefile - Run the production test process (reference/development)
|
2011-04-20 14:13:27 +03:00
|
|
|
#
|
2011-05-28 13:03:20 +03:00
|
|
|
# Written 2011 by Werner Almesberger
|
|
|
|
# Copyright 2011 Werner Almesberger
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
ATBEN_DUT=net:ben
|
|
|
|
ATBEN_REF=usb
|
|
|
|
ATUSB_DUT=usb
|
|
|
|
ATUSB_REF=net:ben
|
2011-04-20 14:13:27 +03:00
|
|
|
|
|
|
|
|
2011-05-21 17:08:46 +03:00
|
|
|
.PHONY: all ben usb flash
|
2011-04-20 14:13:27 +03:00
|
|
|
|
|
|
|
all: ben
|
|
|
|
|
|
|
|
ben: ben.profile
|
2011-05-28 13:03:20 +03:00
|
|
|
./atben $(ATBEN_REF) $(ATBEN_DUT)
|
2011-04-20 14:13:27 +03:00
|
|
|
|
|
|
|
usb: usb.profile
|
2011-05-28 13:03:20 +03:00
|
|
|
./atusb $(ATUSB_REF) $(ATUSB_DUT)
|
2011-04-20 14:13:27 +03:00
|
|
|
|
2011-05-21 17:08:46 +03:00
|
|
|
flash:
|
2011-05-28 13:03:20 +03:00
|
|
|
./atusb-flash $(ATUSB_REF) $(ATUSB_DUT)
|
2011-05-21 17:08:46 +03:00
|
|
|
|
2011-04-20 14:13:27 +03:00
|
|
|
ben.profile:
|
|
|
|
cp ../tools/atrf-path/profile.example $@
|
|
|
|
|
|
|
|
usb.profile:
|
|
|
|
cp ../tools/atrf-path/profile.example $@
|