diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-21 18:26:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-21 18:26:58 +0000 |
commit | bd5e4f3baf926e95100c994f4c3042de8f2753f1 (patch) | |
tree | 21253395d4a7eda1404d418f694237bb45860498 /c/src/lib/libbsp/Makefile.in | |
parent | Corrected license notices per Eric's permission (diff) | |
download | rtems-bd5e4f3baf926e95100c994f4c3042de8f2753f1.tar.bz2 |
Added bare bsp from Chris Johns <cjohns@plessey.com.au>.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/Makefile.in | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/Makefile.in b/c/src/lib/libbsp/Makefile.in index a5e3dde0d0..14437a408a 100644 --- a/c/src/lib/libbsp/Makefile.in +++ b/c/src/lib/libbsp/Makefile.in @@ -15,6 +15,17 @@ include $(RTEMS_ROOT)/make/directory.cfg # We only build it if HAS_MP was defined MP_DRIVERS_yes_V = shmdr MP_DRIVERS = $(MP_DRIVERS_$(HAS_MP)_V) - -# Descend into the $(RTEMS_CPU) directory if it exists -SUB_DIRS=$(MP_DRIVERS) $(wildcard $(RTEMS_CPU)) + +SUB_DIRS=$(MP_DRIVERS) + +# If we are building a "real" BSP, then we need to descend into the +# appropriate CPU specific directory. The bare BSP is a special +# case which can be built for any CPU and it resides at the same +# level as the CPUs. If we are building the bare BSP, then descend +# into that directory. + +ifeq ($(RTEMS_BSP),bare) +SUB_DIRS += bare +else +SUB_DIRS += $(wildcard $(RTEMS_CPU)) +endif |