[uClibc] Again some buildroot patches
Matthias Kilian
kili at outback.escape.de
Sun Jan 4 16:36:47 UTC 2004
Hi,
once again, find attached some minimal patches for the buildroot (current
CVS revision). Similar problem as with my sed patch some days ago,
but this time the if statements tested against the wrong file (source
instead of target).
I also had to enable UCLIBC_HAS_SYS_SIGLIST in uClibc since some of the
targets didn't compile without this (also included in patch below).
FYI: I changed some of the tools to newer versions without problems
(yet). At least, it compiles, allthought I didn't had the time to
stress-test everyting. Here's the list for those who wants to try:
automake: from 1.6.3 to 1.7.3
bison: from 1.35 to 1.75
file: from 4.06 to 4.07
findutils : from 4.1.7 (debian) to 4.1.20 (alpha.gnu.org)
ncurses: from 5.2 to 5.3
openssh: from 3.6.1p1 to 3.6.1p2
strace: from 4.5 to 4.5.1
Ciao,
Kili
diff -ru -x CVS ../buildroot/make/findutils.mk ./make/findutils.mk
--- ../buildroot/make/findutils.mk 2004-01-03 16:13:18.000000000 +0100
+++ ./make/findutils.mk 2004-01-04 17:10:18.000000000 +0100
@@ -17,7 +17,6 @@
$(FINDUTILS_DIR)/.unpacked: $(DL_DIR)/$(FINDUTILS_SOURCE)
$(FINDUTILS_CAT) $(DL_DIR)/$(FINDUTILS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
- mv $(FINDUTILS_DIR).orig $(FINDUTILS_DIR)
touch $(FINDUTILS_DIR)/.unpacked
$(FINDUTILS_DIR)/.configured: $(FINDUTILS_DIR)/.unpacked
@@ -51,7 +50,7 @@
findutils-target_binary: $(FINDUTILS_DIR)/$(FINDUTILS_BINARY)
@if [ -L $(TARGET_DIR)/$(FINDUTILS_TARGET_BINARY) ] ; then \
rm -f $(TARGET_DIR)/$(FINDUTILS_TARGET_BINARY); fi;
- @if [ ! -f $(FINDUTILS_DIR)/$(FINDUTILS_BINARY) -o $(TARGET_DIR)/$(FINDUTILS_TARGET_BINARY) \
+ @if [ ! -f $(TARGET_DIR)/$(FINDUTILS_TARGET_BINARY) -o $(TARGET_DIR)/$(FINDUTILS_TARGET_BINARY) \
-ot $(FINDUTILS_DIR)/$(FINDUTILS_BINARY) ] ; then \
set -x; \
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FINDUTILS_DIR) install; \
diff -ru -x CVS ../buildroot/make/grep.mk ./make/grep.mk
--- ../buildroot/make/grep.mk 2004-01-03 16:13:18.000000000 +0100
+++ ./make/grep.mk 2004-01-04 17:12:14.000000000 +0100
@@ -51,7 +51,7 @@
grep-target_binary: $(GNUGREP_DIR)/$(GNUGREP_BINARY)
@if [ -L $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) ] ; then \
rm -f $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY); fi;
- @if [ ! -f $(GNUGREP_DIR)/$(GNUGREP_BINARY) -o $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) -ot \
+ @if [ ! -f $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) -o $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) -ot \
$(GNUGREP_DIR)/$(GNUGREP_BINARY) ] ; then \
set -x; \
rm -f $(TARGET_DIR)/bin/grep $(TARGET_DIR)/bin/egrep $(TARGET_DIR)/bin/fgrep; \
diff -ru -x CVS ../buildroot/make/sed.mk ./make/sed.mk
--- ../buildroot/make/sed.mk 2004-01-03 16:13:20.000000000 +0100
+++ ./make/sed.mk 2004-01-04 17:09:25.000000000 +0100
@@ -115,7 +115,7 @@
@if [ -L $(TARGET_DIR)/$(SED_TARGET_BINARY) ] ; then \
rm -f $(TARGET_DIR)/$(SED_TARGET_BINARY); fi;
- @if [ ! -f $(SED_DIR2)/$(SED_BINARY) -o $(TARGET_DIR)/$(SED_TARGET_BINARY) \
+ @if [ ! -f $(TARGET_DIR)/$(SED_TARGET_BINARY) -o $(TARGET_DIR)/$(SED_TARGET_BINARY) \
-ot $(SED_DIR2)/$(SED_BINARY) ] ; then \
set -x; \
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(SED_DIR2) install; \
diff -ru -x CVS ../buildroot/sources/uClibc.config ./sources/uClibc.config
--- ../buildroot/sources/uClibc.config 2004-01-03 16:13:27.000000000 +0100
+++ ./sources/uClibc.config 2004-01-03 16:11:57.000000000 +0100
@@ -99,7 +99,7 @@
UCLIBC_HAS_ERRNO_MESSAGES=y
# UCLIBC_HAS_SYS_ERRLIST is not set
UCLIBC_HAS_SIGNUM_MESSAGES=y
-# UCLIBC_HAS_SYS_SIGLIST is not set
+UCLIBC_HAS_SYS_SIGLIST=y
UCLIBC_HAS_GNU_GETOPT=y
#
More information about the uClibc
mailing list