Added networking.

This commit is contained in:
Joel Sherrill
1998-11-23 16:38:28 +00:00
parent 35e5ae647b
commit 967f3aaa0c
2 changed files with 10 additions and 5 deletions

View File

@@ -11,9 +11,10 @@ PROJECT_ROOT = @PROJECT_ROOT@
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
# We only build the Network library if HAS_NETWORKING was defined
NETWORK_yes_V = network
NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
# wrapup is the one that actually builds and installs the library
# from the individual .rel files built in other directories
#was:
#SUB_DIRS=include startup clock console shmsupp timer wrapup
#is
SUB_DIRS=include start startup clock console timer wrapup
SUB_DIRS=include start startup clock console timer $(NETWORK) wrapup

View File

@@ -8,9 +8,13 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
BSP_PIECES=startup clock console timer
BSP_PIECES=startup clock console timer $(NETWORK)
GENERIC_PIECES=
# We only build the Network library if HAS_NETWORKING was defined
NETWORK_yes_V = network
NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
# bummer; have to use $foreach since % pattern subst rules only replace 1x
OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
$(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)