| From 1892079b827cf8f8316305b6d6e0985db82441a2 Mon Sep 17 00:00:00 2001 |
| From: Thomas Kunze <thommycheck@gmx.de> |
| Date: Sat, 6 Aug 2011 05:30:14 +0000 |
| Subject: [PATCH] klibc: initial commit of version 1.5.24 |
| |
| Patch was imported from the OpenEmbedded git server |
| (git://git.openembedded.org/openembedded) |
| as of commit id eefb99a313bbcc8f34c8b32bf0c5aa2dd2580735 |
| Signed-off-by: Thomas Kunze <thommycheck@gmx.de> |
| |
| Minor edits following upstream changes |
| Signed-off-by: Andrea Adami <andrea.adami@gmail.com> |
| |
| --- |
| scripts/Kbuild.install | 4 ---- |
| usr/dash/Kbuild | 2 -- |
| usr/gzip/Kbuild | 2 -- |
| usr/kinit/Kbuild | 2 -- |
| usr/kinit/fstype/Kbuild | 2 -- |
| usr/kinit/ipconfig/Kbuild | 2 -- |
| usr/kinit/nfsmount/Kbuild | 2 -- |
| usr/kinit/resume/Kbuild | 2 -- |
| usr/kinit/run-init/Kbuild | 2 -- |
| usr/klibc/Kbuild | 2 -- |
| usr/utils/Kbuild | 2 -- |
| 11 files changed, 24 deletions(-) |
| |
| diff --git a/scripts/Kbuild.install b/scripts/Kbuild.install |
| index d32a8a5..fda699d 100644 |
| --- a/scripts/Kbuild.install |
| +++ b/scripts/Kbuild.install |
| @@ -88,19 +88,15 @@ else |
| header: |
| $(Q)echo " INSTALL headers + man pages to $(INSTALLROOT)$(INSTALLDIR)" |
| $(Q)mkdir -p $(INSTALLROOT)$(bindir) |
| - $(Q)mkdir -p $(INSTALLROOT)$(mandir)/man1 |
| - $(Q)mkdir -p $(INSTALLROOT)$(SHLIBDIR) |
| $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR) |
| $(Q)-rm -rf $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include |
| $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include |
| $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib |
| - $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin |
| $(Q)for x in ../../../include/asm ../../../include/asm-generic ../../../include/linux ../../../include/mtd; do \ |
| ln -sf $${x} $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/ || exit; \ |
| done |
| $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. |
| $(Q)chmod -R a+rX,go-w $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include |
| - $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(INSTALLROOT)$(mandir)/man1/$(KCROSS)klcc.1 |
| $(Q)$(install-bin) $(objtree)/klcc/$(KCROSS)klcc $(INSTALLROOT)$(bindir) |
| |
| footer: header |
| diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild |
| index 3a98c1f..1a6920a 100644 |
| --- a/usr/dash/Kbuild |
| +++ b/usr/dash/Kbuild |
| @@ -92,5 +92,3 @@ $(obj)/syntax.c: $(obj)/mksyntax |
| $(obj)/syntax.h: $(obj)/syntax.c |
| $(Q): |
| |
| -# Targets to install |
| -install-y := sh.shared |
| diff --git a/usr/gzip/Kbuild b/usr/gzip/Kbuild |
| index 9bbf0a4..c497d02 100644 |
| --- a/usr/gzip/Kbuild |
| +++ b/usr/gzip/Kbuild |
| @@ -21,5 +21,3 @@ $(obj)/gunzip $(obj)/zcat: $(obj)/gzip |
| # Cleaning |
| targets := gzip gzip.g gunzip zcat |
| |
| -# Targets to install |
| -install-y := gzip gunzip zcat |
| diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild |
| index 5320127..f7fdccd 100644 |
| --- a/usr/kinit/Kbuild |
| +++ b/usr/kinit/Kbuild |
| @@ -33,5 +33,3 @@ targets += kinit kinit.g kinit.shared kinit.shared.g |
| subdir- := fstype ipconfig nfsmount resume run-init |
| |
| |
| -# install binary |
| -install-y := kinit kinit.shared |
| diff --git a/usr/kinit/fstype/Kbuild b/usr/kinit/fstype/Kbuild |
| index 9b20db1..367611d 100644 |
| --- a/usr/kinit/fstype/Kbuild |
| +++ b/usr/kinit/fstype/Kbuild |
| @@ -21,5 +21,3 @@ shared/fstype-y := $(objs) |
| # Cleaning |
| clean-dirs := static shared |
| |
| -# install binary |
| -install-y := $(shared-y) |
| diff --git a/usr/kinit/ipconfig/Kbuild b/usr/kinit/ipconfig/Kbuild |
| index 7f8d181..eb1d472 100644 |
| --- a/usr/kinit/ipconfig/Kbuild |
| +++ b/usr/kinit/ipconfig/Kbuild |
| @@ -27,5 +27,3 @@ shared/ipconfig-y := $(objs) |
| # Cleaning |
| clean-dirs := static shared |
| |
| -# install binary |
| -install-y := $(shared-y) |
| diff --git a/usr/kinit/nfsmount/Kbuild b/usr/kinit/nfsmount/Kbuild |
| index 461e6f3..ba31708 100644 |
| --- a/usr/kinit/nfsmount/Kbuild |
| +++ b/usr/kinit/nfsmount/Kbuild |
| @@ -23,5 +23,3 @@ dummypmap-y := dummypmap_test.o |
| |
| clean-dirs := static shared |
| |
| -# Install binary |
| -install-y := $(shared-y) |
| diff --git a/usr/kinit/resume/Kbuild b/usr/kinit/resume/Kbuild |
| index 034195d..c1342e1 100644 |
| --- a/usr/kinit/resume/Kbuild |
| +++ b/usr/kinit/resume/Kbuild |
| @@ -26,5 +26,3 @@ shared/resume-lib := ../lib.a |
| # Cleaning |
| clean-dirs := static shared |
| |
| -# install binary |
| -install-y := $(shared-y) |
| diff --git a/usr/kinit/run-init/Kbuild b/usr/kinit/run-init/Kbuild |
| index f7832b7..c153b0a 100644 |
| --- a/usr/kinit/run-init/Kbuild |
| +++ b/usr/kinit/run-init/Kbuild |
| @@ -30,5 +30,3 @@ shared/run-init-lib := ../lib.a |
| # Cleaning |
| clean-dirs := static shared |
| |
| -# install binary |
| -install-y := $(shared-y) |
| diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild |
| index eba6add..98caf2e 100644 |
| --- a/usr/klibc/Kbuild |
| +++ b/usr/klibc/Kbuild |
| @@ -185,5 +185,3 @@ install-rule: |
| $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib)) |
| $(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \ |
| $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib |
| - $(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \ |
| - $(INSTALLROOT)$(SHLIBDIR) |
| diff --git a/usr/utils/Kbuild b/usr/utils/Kbuild |
| index 05aa794..67d9486 100644 |
| --- a/usr/utils/Kbuild |
| +++ b/usr/utils/Kbuild |
| @@ -72,5 +72,3 @@ $(obj)/shared/reboot $(obj)/shared/poweroff: $(obj)/shared/halt |
| # Clean deletes the static and shared dir |
| clean-dirs := static shared |
| |
| -# install only install the shared binaries |
| -install-y := $(shared-y) shared/reboot shared/poweroff |