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 --- make/custom/default.cfg | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'make/custom/default.cfg') diff --git a/make/custom/default.cfg b/make/custom/default.cfg index 7aa56c646f..918032b765 100644 --- a/make/custom/default.cfg +++ b/make/custom/default.cfg @@ -18,6 +18,7 @@ TARGET_ARCH=o-$(RTEMS_BSP) endif include $(RTEMS_ROOT)/make/main.cfg +include $(RTEMS_ROOT)/$(RTEMS_BSP)/make/bsp.cfg # use the inline functions instead of the macros # ref: src/exec/generic/Makefile @@ -53,13 +54,6 @@ else HAS_CPLUSPLUS=no endif -# Define this to yes if this target supports multiprocessor environments. -ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes) -HAS_MP=yes -else -HAS_MP=no -endif - # Define this to yes if this target wants the TCP/IP stack ifeq ($(RTEMS_HAS_NETWORKING),yes) HAS_NETWORKING=yes @@ -67,13 +61,6 @@ else HAS_NETWORKING=no endif -# Define this to yes if this target wants the remote debugger -ifeq ($(RTEMS_HAS_RDBG),yes) -HAS_RDBG=yes -else -HAS_RDBG=no -endif - # Define this to yes if this target wants the posix api ifeq ($(RTEMS_HAS_POSIX_API),yes) HAS_POSIX_API=yes -- cgit v1.2.3