Move interface.c to networking directory since it's only used by ifconfig.
authorRob Landley <rob@landley.net>
Tue, 22 Nov 2005 07:52:54 +0000 (07:52 -0000)
committerRob Landley <rob@landley.net>
Tue, 22 Nov 2005 07:52:54 +0000 (07:52 -0000)
libbb/Makefile.in
networking/Makefile.in
networking/interface.c [moved from libbb/interface.c with 100% similarity]

index 37c25f9..3554123 100644 (file)
@@ -37,7 +37,6 @@ LIBBB_SRC-y:= \
        bb_echo.c
 
 LIBBB_SRC-$(CONFIG_FEATURE_SHADOWPASSWDS)+= pwd2spwd.c
-LIBBB_SRC-$(CONFIG_IFCONFIG)+=interface.c
 
 LIBBB_OBJS=$(patsubst %.c,$(LIBBB_DIR)%.o, $(LIBBB_SRC-y))
 
index ecfd823..376ecea 100644 (file)
@@ -17,7 +17,7 @@ NETWORKING-$(CONFIG_FTPGET)       += ftpgetput.o
 NETWORKING-$(CONFIG_FTPPUT)       += ftpgetput.o
 NETWORKING-$(CONFIG_HOSTNAME)     += hostname.o
 NETWORKING-$(CONFIG_HTTPD)        += httpd.o
-NETWORKING-$(CONFIG_IFCONFIG)     += ifconfig.o
+NETWORKING-$(CONFIG_IFCONFIG)     += ifconfig.o interface.o
 NETWORKING-$(CONFIG_IFUPDOWN)     += ifupdown.o
 NETWORKING-$(CONFIG_INETD)        += inetd.o
 NETWORKING-$(CONFIG_IP)           += ip.o
similarity index 100%
rename from libbb/interface.c
rename to networking/interface.c