forked from Imagelibrary/rtems
Added networking.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user