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:
1.1 KB
|
Rev | Line | |
---|
[7150f00f] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | @SET_MAKE@ |
---|
| 6 | srcdir = @srcdir@ |
---|
[674c900] | 7 | VPATH = @srcdir@ |
---|
[5c3511e] | 8 | RTEMS_ROOT = @top_srcdir@ |
---|
[674c900] | 9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
[7150f00f] | 10 | |
---|
| 11 | PGM=${ARCH}/console.rel |
---|
| 12 | |
---|
| 13 | # C source names, if any, go here -- minus the .c |
---|
| 14 | C_PIECES=console inch outch printk |
---|
| 15 | C_FILES=$(C_PIECES:%=%.c) |
---|
| 16 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
| 17 | |
---|
| 18 | H_FILES= |
---|
| 19 | |
---|
[2efdd08] | 20 | # Assembly source names, if any, go here -- minus the .s |
---|
| 21 | S_PIECES=videoAsm |
---|
| 22 | S_FILES=$(S_PIECES:%=%.s) |
---|
| 23 | S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o) |
---|
| 24 | |
---|
[7150f00f] | 25 | SRCS=$(C_FILES) $(H_FILES) |
---|
[2efdd08] | 26 | OBJS=$(C_O_FILES) $(S_O_FILES) |
---|
[7150f00f] | 27 | |
---|
[5c3511e] | 28 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
[cb5bfe4] | 29 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
[7150f00f] | 30 | |
---|
| 31 | # |
---|
| 32 | # (OPTIONAL) Add local stuff here using += |
---|
| 33 | # |
---|
| 34 | |
---|
| 35 | DEFINES += |
---|
| 36 | CPPFLAGS += |
---|
| 37 | CFLAGS += |
---|
| 38 | |
---|
| 39 | LD_PATHS += |
---|
| 40 | LD_LIBS += |
---|
| 41 | LDFLAGS += |
---|
| 42 | |
---|
| 43 | # |
---|
| 44 | # Add your list of files to delete here. The config files |
---|
| 45 | # already know how to delete some stuff, so you may want |
---|
| 46 | # to just run 'make clean' first to see what gets missed. |
---|
| 47 | # 'make clobber' already includes 'make clean' |
---|
| 48 | # |
---|
| 49 | |
---|
| 50 | CLEAN_ADDITIONS += |
---|
| 51 | CLOBBER_ADDITIONS += |
---|
| 52 | |
---|
| 53 | ${PGM}: ${SRCS} ${OBJS} |
---|
| 54 | $(make-rel) |
---|
| 55 | |
---|
| 56 | all: ${ARCH} $(SRCS) $(PGM) |
---|
| 57 | |
---|
| 58 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
| 59 | install: all |
---|
Note: See
TracBrowser
for help on using the repository browser.