From f817b0283cce904d0bcb48cf9e641c2b40ba8f38 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 4 Nov 1999 18:05:09 +0000 Subject: The files in libcpu should not be directly dependent on any BSP. In particular, using bsp.h, or getting information from the BSP which should properly be obtained from RTEMS is forbidden. This is necessary to strengthen the division between the BSP independent parts of RTEMS and the BSPs themselves. This started after comments and analysis by Ralf Corsepius . The changes primarily eliminated the need to include bsp.h and peeking at BSP_Configuration. The use of Cpu_table in each BSP needs to be eliminated. --- c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in') diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in index f4f6d6d6fe..005283840d 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in @@ -13,7 +13,11 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -BSP_PIECES = console irq openpic pci residual startup dec21140 vectors +# We only build the Network library if HAS_NETWORKING was defined +NETWORK_yes_V = dec21140 +NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) + +BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) vectors GENERIC_PIECES = # bummer; have to use $foreach since % pattern subst rules only replace 1x -- cgit v1.2.3