From 1896a650fc382d343844b56f4b79efe31562755e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 30 Jul 1999 17:52:50 +0000 Subject: Patch from Ralf Corsepius : The main topic is replacing the hard-coded values for HAS_MP and HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks (This is the patch I had mentioned before earlier this week). CHANGES * HAS_MP removed from custom/*.cfg, replaced with configuration time autoconf check * HAS_RDBG removed from custom/*.cfg, replaced with configuration-time autoconf check * NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp values (i.e. HAS_MP, HAS_RDBG), gets installed as $(prefix)//make/bsp.cfg * NEW: default.cfg includes bsp.cfg - this change is backward compatible. * IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory Makefile.ins * HACK: a bug in acpolish mis-handles addtions to makefile variables which are enclosed in gmake conditionals: c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in * Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of unneeded subdirectories in various configure.in files. * Several minor changes in Makefile.ins and configure.ins, wrt. to the order of including *.cfg and defining Makefile variables APPLYING THE PATCH: patch -p1 < rtems-rc-19990709-4.diff ./autogen --- c/src/exec/rtems/include/rtems/rtems/Makefile.in | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'c/src/exec/rtems/include/rtems/rtems/Makefile.in') diff --git a/c/src/exec/rtems/include/rtems/rtems/Makefile.in b/c/src/exec/rtems/include/rtems/rtems/Makefile.in index d33d741095..d0c2258f6a 100644 --- a/c/src/exec/rtems/include/rtems/rtems/Makefile.in +++ b/c/src/exec/rtems/include/rtems/rtems/Makefile.in @@ -13,17 +13,6 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -# We only build multiprocessing related files if HAS_MP was defined -MP_H_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp -MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V) - -H_PIECES = asr attr clock config dpmem event eventset intr message modes \ - options part ratemon region rtemsapi sem signal status support tasks \ - timer types $(MP_H_PIECES) -H_FILES = $(H_PIECES:%=$(srcdir)/%.h) - -SRCS = $(H_FILES) - include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -35,6 +24,17 @@ INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/rtems $(INSTALLDIRS): @$(mkinstalldirs) $(INSTALLDIRS) +# We only build multiprocessing related files if HAS_MP was defined +MP_H_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp +MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V) + +H_PIECES = asr attr clock config dpmem event eventset intr message modes \ + options part ratemon region rtemsapi sem signal status support tasks \ + timer types $(MP_H_PIECES) +H_FILES = $(H_PIECES:%=$(srcdir)/%.h) + +SRCS = $(H_FILES) + # # Add your list of files to delete here. The config files # already know how to delete some stuff, so you may want -- cgit v1.2.3