forked from Imagelibrary/rtems
Enabled compilation of rtems_servers at request of Jake Janovetz
<janovetz@tempest.ece.uiuc.edu>.
This commit is contained in:
@@ -18,8 +18,7 @@ VPATH = @srcdir@
|
||||
include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
|
||||
include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
# add rtems_servers
|
||||
SUB_DIRS=kern lib libc net netinet nfs rtems wrapup
|
||||
SUB_DIRS=kern lib libc net netinet nfs rtems rtems_servers wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -50,9 +50,12 @@ ARPA_H_FILES=$(ARPA_H_PIECES:%=$(srcdir)/../arpa/%.h)
|
||||
NFS_H_PIECES= krpc nfs nfsdiskless nfsproto rpcv2 xdr_subs
|
||||
NFS_H_FILES=$(NFS_H_PIECES:%=$(srcdir)/../nfs/%.h)
|
||||
|
||||
RTEMS_SERVERS_H_PIECES= ftpd
|
||||
RTEMS_SERVERS_H_FILES=$(RTEMS_SERVERS_H_PIECES:%=$(srcdir)/../rtems_servers/%.h)
|
||||
|
||||
SRCS=$(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(MACHINE_H_FILES) \
|
||||
$(VM_H_FILES) $(NET_H_FILES) $(NETINET_H_FILES) $(ARPA_H_FILES) \
|
||||
$(NFS_H_FILES)
|
||||
$(NFS_H_FILES) $(RTEMS_SERVERS_H_FILES)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
|
||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
@@ -70,6 +73,7 @@ all: $(SRCS)
|
||||
$(INSTALL_CHANGE) -m 444 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet
|
||||
$(INSTALL_CHANGE) -m 444 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa
|
||||
$(INSTALL_CHANGE) -m 444 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs
|
||||
$(INSTALL_CHANGE) -m 444 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -33,7 +33,7 @@ include $(RTEMS_ROOT)/make/lib.cfg
|
||||
# Add local stuff here using +=
|
||||
#
|
||||
|
||||
DEFINES += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
DEFINES +=
|
||||
CPPFLAGS +=
|
||||
CFLAGS +=
|
||||
|
||||
|
||||
@@ -15,8 +15,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
||||
|
||||
VPATH = @srcdir@
|
||||
|
||||
NET_PIECES=kern lib libc net netinet nfs rtems
|
||||
# Add rtems_servers
|
||||
NET_PIECES=kern lib libc net netinet nfs rtems rtems_servers
|
||||
OBJS=$(foreach piece, $(NET_PIECES), ../$(piece)/$(ARCH)/*.o)
|
||||
LIB=$(ARCH)/libnetworking.a
|
||||
|
||||
|
||||
@@ -18,8 +18,7 @@ VPATH = @srcdir@
|
||||
include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
|
||||
include $(RTEMS_ROOT)/make/directory.cfg
|
||||
|
||||
# add rtems_servers
|
||||
SUB_DIRS=kern lib libc net netinet nfs rtems wrapup
|
||||
SUB_DIRS=kern lib libc net netinet nfs rtems rtems_servers wrapup
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -50,9 +50,12 @@ ARPA_H_FILES=$(ARPA_H_PIECES:%=$(srcdir)/../arpa/%.h)
|
||||
NFS_H_PIECES= krpc nfs nfsdiskless nfsproto rpcv2 xdr_subs
|
||||
NFS_H_FILES=$(NFS_H_PIECES:%=$(srcdir)/../nfs/%.h)
|
||||
|
||||
RTEMS_SERVERS_H_PIECES= ftpd
|
||||
RTEMS_SERVERS_H_FILES=$(RTEMS_SERVERS_H_PIECES:%=$(srcdir)/../rtems_servers/%.h)
|
||||
|
||||
SRCS=$(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(MACHINE_H_FILES) \
|
||||
$(VM_H_FILES) $(NET_H_FILES) $(NETINET_H_FILES) $(ARPA_H_FILES) \
|
||||
$(NFS_H_FILES)
|
||||
$(NFS_H_FILES) $(RTEMS_SERVERS_H_FILES)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
|
||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
@@ -70,6 +73,7 @@ all: $(SRCS)
|
||||
$(INSTALL_CHANGE) -m 444 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet
|
||||
$(INSTALL_CHANGE) -m 444 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa
|
||||
$(INSTALL_CHANGE) -m 444 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs
|
||||
$(INSTALL_CHANGE) -m 444 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -33,7 +33,7 @@ include $(RTEMS_ROOT)/make/lib.cfg
|
||||
# Add local stuff here using +=
|
||||
#
|
||||
|
||||
DEFINES += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||
DEFINES +=
|
||||
CPPFLAGS +=
|
||||
CFLAGS +=
|
||||
|
||||
|
||||
@@ -15,8 +15,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
||||
|
||||
VPATH = @srcdir@
|
||||
|
||||
NET_PIECES=kern lib libc net netinet nfs rtems
|
||||
# Add rtems_servers
|
||||
NET_PIECES=kern lib libc net netinet nfs rtems rtems_servers
|
||||
OBJS=$(foreach piece, $(NET_PIECES), ../$(piece)/$(ARCH)/*.o)
|
||||
LIB=$(ARCH)/libnetworking.a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user