diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1995-11-14 08:00:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1995-11-14 08:00:00 +0000 |
commit | e7c2a72e2680827d6a733931273a93461c0d8d1b (patch) | |
tree | c9abeda78ef7504062bb2e816bcf3e3c9d680112 /net/Makefile | |
parent | ec6044459060a8c9ce7f64405c465d141898548c (diff) |
Import of Linux/MIPS 1.3.0
Diffstat (limited to 'net/Makefile')
-rw-r--r-- | net/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net/Makefile b/net/Makefile index 1b97fdf01..9797a97a7 100644 --- a/net/Makefile +++ b/net/Makefile @@ -7,10 +7,7 @@ # # Note 2! The CFLAGS definition is now in the main makefile... -# only these two lines should need to be changed to remove inet sockets. -# (and the inet/tcpip.o in net.o) - -SUBDIRS := unix inet +SUBDIRS := 802 ax25 core ethernet ipv4 ipx unix appletalk netrom SUBOBJS := $(foreach f,$(SUBDIRS),$f/$f.o) @@ -26,7 +23,11 @@ OBJS = socket.o protocols.o all: net.o net.o: $(OBJS) network.a - $(LD) -r -o net.o $(OBJS) network.a +ifeq ($(ARCH),mips) + $(LD) -u eth_setup -r -o net.o $(OBJS) network.a +else + $(LD) -u _eth_setup -r -o net.o $(OBJS) network.a +endif network.a: subdirs rm -f $@ @@ -40,6 +41,8 @@ dep: $(CPP) -M *.c > .depend set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i dep; done +modules: + dummy: # |