openap-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openap-cvs] : busybox Makefile,1.2,1.3 Config.h,1.3,1.4


From: David Kimdon <address@hidden>
Subject: [openap-cvs] : busybox Makefile,1.2,1.3 Config.h,1.3,1.4
Date: Wed, 17 Jul 2002 17:41:20 -0400

Update of /cvsroot/openap/busybox
In directory subversions:/tmp/cvs-serv30948/busybox

Modified Files:
        Makefile Config.h 
Log Message:
build telnetd and insmod into the busybox executable, build 
a shared busybox.


Index: Makefile
===================================================================
RCS file: /cvsroot/openap/busybox/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile    19 Feb 2002 08:24:16 -0000      1.2
+++ Makefile    17 Jul 2002 21:41:18 -0000      1.3
@@ -33,7 +33,7 @@
 CFLAGS_EXTRA =
  
 # If you want a static binary, turn this on.
-DOSTATIC = true
+DOSTATIC = false
 
 # Set the following to `true' to make a debuggable build.
 # Leave this set to `false' for production use.
@@ -86,10 +86,10 @@
 
 # To compile vs uClibc, just use the compiler wrapper built by uClibc...
 # Everything should compile and work as expected these days...
-CC=gcc
+# CC=gcc
 
-STANDALONE_STATIC=init
-STANDALONE_SHARED=insmod
+STANDALONE_STATIC=init telnetd
+STANDALONE_SHARED=
 
 # To compile vs some other alternative libc, you may need to use/adjust
 # the following lines to meet your needs...
@@ -430,7 +430,7 @@
        - rm -rf docs/busybox _install libpwd.a libbb.a pod2htm*
        - rm -f busybox.links libbb/loop.h *~ slist.mk core applet_source_list
        - find -name \*.o -exec rm -f {} \;
-       - rm -f telnetd insmod
+       - rm -f telnetd
 
 distclean: clean
        - rm -f busybox applet_source_list
@@ -445,13 +445,16 @@
        -install telnetd $(PREFIX)/usr/sbin
        -install syslogd $(PREFIX)/sbin
        -install klogd $(PREFIX)/sbin
-       install insmod $(PREFIX)/sbin
        install init $(PREFIX)/sbin
 
 install-init:
        mkdir -p $(PREFIX)/etc/init.d/
+       mkdir -p $(PREFIX)/etc/rc1.d
+       mkdir -p $(PREFIX)/etc/rc3.d
        if [ -f telnetd ] ; then \
-               install telnetd.init $(PREFIX)/etc/init.d/ ; \
+               install telnetd.init $(PREFIX)/etc/init.d/telnetd ; \
+               ln -s ../init.d/telnetd $(PREFIX)/etc/rc1.d/K50telnetd ; \
+               ln -s ../init.d/telnetd $(PREFIX)/etc/rc3.d/S50telnetd ; \
        fi
        if [ -f syslogd ] ; then \
                install sysklogd.init $(PREFIX)/etc/init.d/ ; \

Index: Config.h
===================================================================
RCS file: /cvsroot/openap/busybox/Config.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Config.h    20 May 2002 03:47:44 -0000      1.3
+++ Config.h    17 Jul 2002 21:41:18 -0000      1.4
@@ -56,7 +56,7 @@
 //#define BB_ID
 #define BB_IFCONFIG
 //#define BB_INIT
-//#define BB_INSMOD
+#define BB_INSMOD
 #define BB_KILL
 #define BB_KILLALL
 //#define BB_KLOGD
@@ -116,7 +116,7 @@
 //#define BB_TEE
 #define BB_TEST
 //#define BB_TELNET
-//#define BB_TELNETD
+#define BB_TELNETD
 //#define BB_TFTP
 //#define BB_TOUCH
 #define BB_TR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]