RFC: RTEMS Makefile change proposal

Aaron J. Grier aaron at frye.com
Wed Apr 9 16:57:42 UTC 2003


On Mon, Apr 07, 2003 at 11:35:54AM -0700, Till Straumann wrote:
> PROPOSAL:
>   I propose to define RTEMS_CPU etc. _before_ including
>   'default.cfg'.

I've hacked my configuration to do this for years.  ;)  the other thing
I did was move the BSP-specific target.cfg into a the BSP-specific make
directory, with some glue in the common target.cfg.  I'm sure with a
little autoconf magic the FIXUPS could be gotten rid of.

ifdef target_alias
# we are building RTEMS itself
FIXUPS = ..
else
# we are building normally
FIXUPS = .
endif

include $(RTEMS_ROOT)/$(FIXUPS)/$(RTEMS_BSP_FAMILY)/make/target.cfg

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron at frye.com



More information about the users mailing list