mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 19:52:04 +02:00
ad2c72fa7f
- fw/Makefile: replaced "make" with $(MAKE) (just for style) - common/Makefile.common: Makefile settings shared within project. For now, this contains only the board version, which defaults to 2010-12-16. - fw/common/Makefile, fw/boot/Makefile, fw/atusb/Makefile: include common/Makefile.common - fw/common/Makefile, fw/boot/Makefile, fw/atusb/Makefile: pass board version to cpp and gcc - fw/atusb/atusb.c (init_io): individually set IRQ_RF to one, LED and TST to zero - fw/atusb/atusb.c (init_io): added macros to set all unused pins to zero in a way that doesn't need updating if a signal moves from one pin to another - include/atusb/ep0.h: added hardware type 1 (2010-12-16 design) - common/config.h: set hardware type depending on board version - common/io.h: assign pins depending on board version
37 lines
860 B
Makefile
37 lines
860 B
Makefile
#
|
|
# fw/Makefile - ATUSB firmware build
|
|
#
|
|
# Written 2008-2010 by Werner Almesberger
|
|
# Copyright 2008-2010 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.
|
|
#
|
|
|
|
|
|
DIRS=common boot atusb
|
|
|
|
|
|
.PHONY: all depend install uninstall clean spotless
|
|
|
|
all:
|
|
for d in $(DIRS); do $(MAKE) -C $$d all || exit 1; done
|
|
|
|
depend:
|
|
for d in $(DIRS); do $(MAKE) -C $$d depend || exit 1; done
|
|
|
|
# Top-level Makefile recurses for "install" and "uninstall", which have no use
|
|
# here. Just ignore them.
|
|
|
|
install:
|
|
|
|
uninstall:
|
|
|
|
clean:
|
|
for d in $(DIRS); do $(MAKE) -C $$d clean || exit 1; done
|
|
|
|
spotless:
|
|
for d in $(DIRS); do $(MAKE) -C $$d spotless || exit 1; done
|