4.104.114.84.95
Last change
on this file since f99d4f83 was
a2016b99,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 14:42:08
|
Removed include directory at "build" point and the link of this directory
to lib/include.
Went to using a PROJECT_INCLUDE variable.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | # Build the pixelflow bsp by cd'ing into another floss tree and |
---|
3 | # building it there. |
---|
4 | # |
---|
5 | # NOTE: we also jump sideways in rtems tree and install test/support/include |
---|
6 | # so that floss tests can use the rtems test structures |
---|
7 | # |
---|
8 | # $Id$ |
---|
9 | # |
---|
10 | |
---|
11 | @SET_MAKE@ |
---|
12 | srcdir = @srcdir@ |
---|
13 | top_srcdir = @top_srcdir@ |
---|
14 | VPATH=@srcdir@ |
---|
15 | |
---|
16 | include $(RTEMS_CUSTOM) |
---|
17 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
18 | |
---|
19 | SRCS=$(srcdir)/floss-bsp.h |
---|
20 | |
---|
21 | # HACK alert |
---|
22 | # on a 'make -k' we don't want to bomb out of build |
---|
23 | EXIT_CMD=exit 1 |
---|
24 | ifeq (k, $(findstring k, $(MAKEFLAGS))) |
---|
25 | EXIT_CMD=true |
---|
26 | endif |
---|
27 | |
---|
28 | |
---|
29 | all install:: |
---|
30 | @$(ECHO); $(ECHO) |
---|
31 | @if [ ! -d $(FLOSS_ROOT) ]; \ |
---|
32 | then \ |
---|
33 | $(ECHO) "*** ERROR FLOSS_ROOT ($(FLOSS_ROOT)) points to nonexistent directory"; \ |
---|
34 | $(ECHO); $(ECHO); \ |
---|
35 | $(EXIT_CMD); \ |
---|
36 | fi |
---|
37 | @if [ -f $(FLOSS_ROOT)/PURE ]; \ |
---|
38 | then \ |
---|
39 | $(ECHO) "*** Assuming $(FLOSS_HOME) up to date since ./PURE exists"; \ |
---|
40 | else \ |
---|
41 | cmd="cd $(RTEMS_ROOT)/c/src/tests/support/include; $(MAKE) install"; \ |
---|
42 | $(ECHO) $$cmd; \ |
---|
43 | eval $$cmd || $(EXIT_CMD); \ |
---|
44 | cmd="cd $(FLOSS_ROOT); $(MAKE) $@"; \ |
---|
45 | $(ECHO) $$cmd; \ |
---|
46 | eval $$cmd || $(EXIT_CMD); \ |
---|
47 | fi |
---|
48 | @$(ECHO); $(ECHO) |
---|
49 | $(INSTALL) -m 444 $(srcdir)/floss-bsp.h $(PROJECT_INCLUDE)/bsp.h |
---|
Note: See
TracBrowser
for help on using the repository browser.