forked from Imagelibrary/rtems
18 lines
319 B
Makefile
18 lines
319 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
TARGETS=@TARGETS@
|
|
RTEMS_API=@RTEMS_API@
|
|
RPMDBPATH=@RPMDBPATH@
|
|
|
|
all:
|
|
export PATH=$(prefix)/bin:$$PATH; \
|
|
for t in $(TARGETS) ; \
|
|
do \
|
|
rpmbuild -v $(RPMDBPATH) -ba $(srcdir)/rtems.spec --target=$$t-rtems$(RTEMS_API) ; \
|
|
if [ $$? -ne 0 ]; then \
|
|
exit 1 ; \
|
|
fi \
|
|
done
|