[klibc] kbuild: install of kinit, ipconfig and nfsmount

Sam Ravnborg sam at ravnborg.org
Sun Aug 7 01:40:42 PDT 2005


kbuild: install of kinit, ipconfig and nfsmount

When they moved we now have the possibility to install them,
so do it.

Signed-off-by: Sam Ravnborg <sam at ravnborg.org>

---
commit 423986135aac6073aff2e1b8efd01f3dadf3fe77
tree c211f30e7f91cdfe02cf44c2a56bf9774620d8f2
parent 50b7344b545588cbc413081ed19c625ffaa6a5ef
author Sam Ravnborg <sam at mars.(none)> Sun, 07 Aug 2005 10:39:22 +0200
committer Sam Ravnborg <sam at mars.(none)> Sun, 07 Aug 2005 10:39:22 +0200

 usr/kinit/Kbuild          |    8 ++------
 usr/kinit/ipconfig/Kbuild |   11 ++---------
 usr/kinit/nfsmount/Kbuild |    7 ++-----
 3 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild
--- a/usr/kinit/Kbuild
+++ b/usr/kinit/Kbuild
@@ -22,10 +22,6 @@ KLIBCCFLAGS_nfsroot.o := -I$(srctree)/$(
 targets := $(static-y) $(shared-y)
 subdir- := ipconfig nfsmount
 
-ifeq (a,b)
 
-# This should perhaps be a shared binary?
-install: all
-	$(INSTALL_EXEC) $(PROGS) $(INSTALLROOT)$(INSTALLDIR)/$(CROSS)bin
-
-endif
+# install binary
+install-y := kinit
diff --git a/usr/kinit/ipconfig/Kbuild b/usr/kinit/ipconfig/Kbuild
--- a/usr/kinit/ipconfig/Kbuild
+++ b/usr/kinit/ipconfig/Kbuild
@@ -27,12 +27,5 @@ shared/ipconfig-y := $(objs)
 # Cleaning
 clean-dirs := static shared
 
-ifeq (a,b)
-# TODO - can we replace this with built-in.o?
-$(LIB): $(OBJS)
-	$(AR) cru $(LIB) $(OBJS)
-
-install: all
-	$(INSTALL_EXEC) shared/* $(INSTALLROOT)$(INSTALLDIR)/$(CROSS)bin
-
-endif
+# install binary
+install-y := $(shared-y)
diff --git a/usr/kinit/nfsmount/Kbuild b/usr/kinit/nfsmount/Kbuild
--- a/usr/kinit/nfsmount/Kbuild
+++ b/usr/kinit/nfsmount/Kbuild
@@ -23,8 +23,5 @@ dummypmap-y := dummypmap_test.o
 
 clean-dirs := static shared
 
-ifeq (a,b)
-
-install: all
-	$(INSTALL_EXEC) shared/* $(INSTALLROOT)$(INSTALLDIR)/$(CROSS)bin	
-endif
+# Install binary
+install-y := $(shared-y)



More information about the klibc mailing list