4.104.114.84.95
Last change
on this file since 2efdd08 was
2efdd08,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/20/98 at 17:06:57
|
Patch from Ralf Corseipus to fix latent configure problems suddenly triggered:
The breakdown:
- CC_FOR_TARGET and CXX_FOR_TARGET were not correctly re-read
from autoconf's configuration cache (config.cache)
- If <target>-[gcc|g++] was not found while running configure,
the config macros tried to use other (wrong) compilers (e.g. cc).
Changes:
- New RTEMS_PROG_CC macro (aclocal/prog-cc.m4).
- New RTEMS_PROG_CXX macro (aclocal/prog-cxx.m4)
- Moved a shell script fragment from configure.in to a
new m4-autoconf macro (New file: aclocal/tool-prefix.m4)
- Minor changes to configure.in
I tested it with linux/posix (native gcc/primary libc) and
sh-rtems/gensh1 on a linux host and didn't notice any bugs
related to the problems mentioned above. There seem to be
more bugs with the posix bsp, but I consider them minor as
the build run completed successfully. It is just too late
for me to attempt to fix them now.
|
-
Property mode set to
100644
|
File size:
755 bytes
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | VPATH = @srcdir@ |
---|
8 | RTEMS_ROOT = @top_srcdir@ |
---|
9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
10 | |
---|
11 | H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h $(srcdir)/irq.h $(srcdir)/crt.h |
---|
12 | |
---|
13 | # |
---|
14 | # Equate files are for including from assembly preprocessed by |
---|
15 | # gm4 or gasp. No examples are provided except for those for |
---|
16 | # other CPUs. The best way to generate them would be to |
---|
17 | # provide a program which generates the constants used based |
---|
18 | # on the C equivalents. |
---|
19 | # |
---|
20 | |
---|
21 | EQ_FILES = |
---|
22 | |
---|
23 | SRCS=$(H_FILES) $(EQ_FILES) |
---|
24 | |
---|
25 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
26 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
27 | |
---|
28 | CLEAN_ADDITIONS += |
---|
29 | CLOBBER_ADDITIONS += |
---|
30 | |
---|
31 | all: $(SRCS) |
---|
32 | $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE) |
---|
33 | $(INSTALL) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE) |
---|
Note: See
TracBrowser
for help on using the repository browser.