summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-12 07:10:54 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-12 07:10:54 +0000
commit5eeac710ca151c7e714350839be491f564ba4488 (patch)
treee7a7b8d51c8ccf1c1efc2cbc5eb29997b5c8a874 /toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
parentf4d23f7ead1711c89fb6626d29bc1bdfa2c57b91 (diff)
update uClibc config settings and update installation of kernel headers
Diffstat (limited to 'toolchain/uClibc/fix_includes-uClibc-0.9.28.patch')
-rw-r--r--toolchain/uClibc/fix_includes-uClibc-0.9.28.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch b/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
new file mode 100644
index 000000000..c90269f87
--- /dev/null
+++ b/toolchain/uClibc/fix_includes-uClibc-0.9.28.patch
@@ -0,0 +1,34 @@
+--- uClibc-0.9.28/extra/scripts/fix_includes.sh.orig 2006-12-11 20:55:46.000000000 -0700
++++ uClibc-0.9.28/extra/scripts/fix_includes.sh 2006-12-11 20:56:12.000000000 -0700
+@@ -96,16 +96,16 @@
+ if [ -z "$VERSION" -o -z "$PATCHLEVEL" -o -z "$SUBLEVEL" ]
+ then
+ echo "Unable to determine version for kernel headers"
+- echo -e "\tprovided in directory $KERNEL_SOURCE"
++ echo " provided in directory $KERNEL_SOURCE"
+ exit 1
+ fi
+
+ if [ "$MAKE_IS_SILENT" != "y" ]; then
+ echo "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION}"
+-echo -e "\n"
++echo ""
+ echo "Using kernel headers from $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION} for architecture '$TARGET_ARCH'"
+-echo -e "\tprovided in directory $KERNEL_SOURCE"
+-echo -e "\n"
++echo " provided in directory $KERNEL_SOURCE"
++echo ""
+ fi
+
+ # Create a symlink to include/asm
+--- uClibc-0.9.28/Makefile.orig 2006-12-11 21:06:42.000000000 -0700
++++ uClibc-0.9.28/Makefile 2006-12-11 21:06:53.000000000 -0700
+@@ -158,7 +158,7 @@
+ $(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 \
++ if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
+ extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
+ else \
+ extra_exclude="" ; \