mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-08-23 22:39:54 +03:00
- Makefile: define driver names depending on device role - Makefile: changed title comment to indicate that this Makefile is no longer considered just a convenience hack - atusb: define USB_ID via a variable instead of hard-coding it
38 lines
774 B
Makefile
38 lines
774 B
Makefile
#
|
|
# prod/Makefile - Run the production test process (reference/development)
|
|
#
|
|
# 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
|
|
|
|
|
|
.PHONY: all ben usb flash
|
|
|
|
all: ben
|
|
|
|
ben: ben.profile
|
|
./atben $(ATBEN_REF) $(ATBEN_DUT)
|
|
|
|
usb: usb.profile
|
|
./atusb $(ATUSB_REF) $(ATUSB_DUT)
|
|
|
|
flash:
|
|
./atusb-flash $(ATUSB_REF) $(ATUSB_DUT)
|
|
|
|
ben.profile:
|
|
cp ../tools/atrf-path/profile.example $@
|
|
|
|
usb.profile:
|
|
cp ../tools/atrf-path/profile.example $@
|