source: rtems/c/src/make/Makefile.inc.in @ 9888de3

4.104.114.84.95
Last change on this file since 9888de3 was 9888de3, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 4, 1999 at 1:16:50 PM

Patch from Ralf Corsepius <corsepiu@…> to fix bug report
from Eric Norum <eric@…>. This patch was rtems-19990820-0-diff
from Ralf.

FYI: In parallel to the transition to automake, RTEMS is on a transition
from make-time configuration to per-bsp and per-bsp configuration at
configuration-time. Due to this several changes to configuration files
have been added and might have broken something that has been working
previously. Most noticeable behavioral change is that you now are required
to use @RTEMS_BSP@ instead of $(RTEMS_BSP) inside of any Makefile.ins
which are configured or build as part of the source-tree.

It used to be that only RTEMS_MAKEFILE_PATH had to be set. Why is this
no longer sufficient?

It should still be working, if it doesn't, it has to be considered to be
broken and should be fixed.

I am not sure, but I assume you are using Makefile.inc - In this case, you
have found a bug in Makefile.inc.in which should be worked-around by the
patch below. If my assumption is wrong, I would need more details ...

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2# BSP specific settings. To be included in application Makefiles
3#
4
5RTEMS_BSP = @RTEMS_BSP@
6
7prefix = @prefix@
8
9CC_FOR_TARGET = @CC_FOR_TARGET@
10AS_FOR_TARGET = @AS_FOR_TARGET@
11AR_FOR_TARGET = @AR_FOR_TARGET@
12NM_FOR_TARGET = @NM_FOR_TARGET@
13LD_FOR_TARGET = @LD_FOR_TARGET@
14SIZE_FOR_TARGET = @SIZE_FOR_TARGET@
15OBJCOPY_FOR_TARGET = @OBJCOPY_FOR_TARGET@
16
17CC= $(CC_FOR_TARGET)
18AS= $(AS_FOR_TARGET)
19LD= $(LD_FOR_TARGET)
20NM= $(NM_FOR_TARGET)
21AR= $(AR_FOR_TARGET)
22SIZE= $(SIZE_FOR_TARGET)
23OBJCOPY= $(OBJCOPY_FOR_TARGET)
24
25export CC
26export AS
27export LD
28export NM
29export AR
30export SIZE
31export OBJCOPY
32
33RTEMS_HOST = @RTEMS_HOST@
34RTEMS_CUSTOM = $(prefix)/make/custom/$(RTEMS_BSP).cfg
35PROJECT_ROOT = $(prefix)/
36RTEMS_USE_OWN_PDIR = no
37RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
38RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
39RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
40RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
41RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
42
43export RTEMS_BSP
44export RTEMS_CUSTOM
45export PROJECT_ROOT
46
47# FIXME: The following shouldn't be here
48RTEMS_ROOT = $(PROJECT_ROOT)
49export RTEMS_ROOT
Note: See TracBrowser for help on using the repository browser.