diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-28 17:55:40 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-10-28 17:55:40 (GMT) |
commit | 4fb0c302e0809c1f88a8573e87ce46da1d821a8f (patch) | |
tree | 1ad0516974250ddbca813e9d6cfabe9217eb93b1 /patches/uClibc/0.9.28/110-install_dev.patch | |
parent | 288173ce56309b762c11d0e8c11d18c828ed14bc (diff) |
config: rip-out versions marked as OBSOLETE
Diffstat (limited to 'patches/uClibc/0.9.28/110-install_dev.patch')
-rw-r--r-- | patches/uClibc/0.9.28/110-install_dev.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/patches/uClibc/0.9.28/110-install_dev.patch b/patches/uClibc/0.9.28/110-install_dev.patch deleted file mode 100644 index 476525b..0000000 --- a/patches/uClibc/0.9.28/110-install_dev.patch +++ /dev/null @@ -1,39 +0,0 @@ -There are at least three weird glitches in the Makefile: - - the test operator is a dual-equal sign (==) when it should be a single one (=); - - the exclude options are not accepted as is by GNU tar; - - how on earth could KERNEL_SOURCE possibly be equal to DEVEL_PREFIX ??? - -We (Cedric DUVAL and I, Yann E. MORIN) are not quite sure why it is that way. -We're not quite sure either on how to solve this. - -What we need is to built a toolchain; in no way we need to install the linux headers. - ==> systematically exclude them from the [s]tar command. - -This patch is inspired by the svn repository of uClibc as of 20060209. -diff -dur /home/ymorin/dev/uClibc-0.9.28/Makefile uClibc-0.9.28/Makefile ---- /home/ymorin/dev/uClibc-0.9.28/Makefile 2005-08-18 00:49:49.000000000 +0200 -+++ uClibc-0.9.28/Makefile 2006-02-09 17:06:58.000000000 +0100 -@@ -158,12 +158,17 @@ - $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib - $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include - -$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/ -- if [ "$(KERNEL_SOURCE)" == "$(DEVEL_PREFIX)" ] ; then \ -- extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \ -- else \ -- extra_exclude="" ; \ -- fi ; \ -- tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \ -+# if [ "$(KERNEL_SOURCE)" == "$(DEVEL_PREFIX)" ] ; then \ -+# extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \ -+# else \ -+# extra_exclude="" ; \ -+# fi ; \ -+# tar -chf - include --exclude .svn --exclude CVS $$extra_exclude \ -+# | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX) -+ printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \ -+ ls -1d include/linux include/asm* >> tar_exclude ; \ -+ tar -chf - -X tar_exclude include \ - | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX) -+ rm -f tar_exclude - ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y) - # Remove floating point related headers since float support is disabled. |