]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Busybox war gegen falsche Libc gelinkt.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 6 Nov 2006 18:03:48 +0000 (18:03 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 6 Nov 2006 18:03:48 +0000 (18:03 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@340 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/uClibc/busybox.config
lfs/busybox
lfs/e2fsprogs
lfs/newt
lfs/slang
lfs/uClibc
tools/make-functions

index 2d2885ee3cb2253599c473b15e14ad36efc23e6b..77448a5c701d4797346dd386977e35f429be45fc 100644 (file)
@@ -36,8 +36,8 @@ CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
 # CONFIG_FEATURE_FULL_LIBBUSYBOX is not set
 # CONFIG_FEATURE_SHARED_BUSYBOX is not set
 # CONFIG_LFS is not set
-# USING_CROSS_COMPILER is not set
-CROSS_COMPILER_PREFIX=""
+USING_CROSS_COMPILER=y
+CROSS_COMPILER_PREFIX="/opt/i586-uClibc/bin/i586-linux-"
 # CONFIG_BUILD_AT_ONCE is not set
 
 #
@@ -53,7 +53,7 @@ CROSS_COMPILER_PREFIX=""
 #
 # Installation Options
 #
-# CONFIG_INSTALL_NO_USR is not set
+CONFIG_INSTALL_NO_USR=y
 CONFIG_INSTALL_APPLET_SYMLINKS=y
 # CONFIG_INSTALL_APPLET_HARDLINKS is not set
 # CONFIG_INSTALL_APPLET_DONT is not set
index 5c5d8e56949b8e7efd02b997ce2f5880f5269d36..6a6ed0833001038e51f5fd79f6144ff0a52f807a 100644 (file)
@@ -1,4 +1,3 @@
-
 ###############################################################################
 # This file is part of the IPCop Firewall.                                    #
 #                                                                             #
index b4b2d71d56834ab6ae8ee64e280536426dabb607..e43b3b908fb78689367ad7efbdc986d9a7249e03 100644 (file)
@@ -90,7 +90,7 @@ ifeq "$(LFS_PASS)" "install"
        
        cd $(DIR_APP)/lib/uuid && make
        cd $(DIR_APP)/lib/uuid && make install
-       cd $(DIR_APP)/lib/uuid && install -m 755 libuuid.a /opt/$(MACHINE)-uClibc/lib
+       cd $(DIR_APP)/lib/uuid && install -m 755 libuuid.a /opt/$(MACHINE)-uClibc/lib/libuuid.a
        cd $(DIR_APP) && unset LD_LIBRARY_PATH
 else
        cd $(DIR_SRC) && mkdir build
index 659a1bad7d1172661a2bb1e04e7a425f872cfaf6..61be6830f5e926625dcc4c46aa230baa5c08d5a2 100644 (file)
--- a/lfs/newt
+++ b/lfs/newt
@@ -86,7 +86,7 @@ ifeq "$(LFS_PASS)" "install"
        cd $(DIR_APP) && sed -i 's%^CFLAGS.*$$%CFLAGS = -Os -fomit-frame-pointer -Wall -D_GNU_SOURCE -DUTF8 -I/install/include/slang%' Makefile
        cd $(DIR_APP) && make libnewt.a
        -mkdir -p /install/$(MACHINE)-uClibc/{include,lib}
-       cd $(DIR_APP) && install -m 0644 libnewt.a /install/$(MACHINE)-uClibc/lib
+       cd $(DIR_APP) && install -m 0644 libnewt.a /install/$(MACHINE)-uClibc/lib/libnewt.a
        cd $(DIR_APP) && install -m 0644 newt.h /install/$(MACHINE)-uClibc/include/newt.h
 else
        cd $(DIR_APP) && RPM_OPT_FLAGS="$(CFLAGS) -DUTF8" ./configure --without-gpm-support
index 1da31b89987d8d76261b6e05490577dd443863c9..7aad756417c0504e1b556ff4b6c22d7c6f0e82d4 100644 (file)
--- a/lfs/slang
+++ b/lfs/slang
@@ -77,7 +77,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 ifeq "$(LFS_PASS)" "install"
-       -mkdir -p /install/lib
        cd $(DIR_APP) && ./configure --prefix=""
        cd $(DIR_APP) && make $(MAKETUNING) elf
        cd $(DIR_APP)/src && make install-elf DESTDIR="/opt/$(MACHINE)-uClibc"
index 217410c58d81aca515585b1338249e604e8b4d58..8eb0831c63f1c1af98c9d537bfe4119ab10967f8 100644 (file)
@@ -95,5 +95,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd /lib && ln -sf ld-uClibc-$(VER).so ld-uClibc.so.0
        cd /lib && ln -sf libuClibc-$(VER).so libc.so.0
        cd /lib && ln -sf libc.so.0 libc.so
-       @rm -rf $(DIR_SRC)/buildroot
+       @rm -rf $(DIR_APP) $(DIR_SRC)/buildroot
        @$(POSTBUILD)
index 79fa1b3889c6a0335f566ceaef1404605344b676..451fde41561d96059d4cf0c4a364a05372503e78 100644 (file)
@@ -412,7 +412,7 @@ installmake() {
        local PKG_TIME_START=`date +%s`
                chroot $LFS /tools/bin/env -i   HOME=/root \
                                                TERM=$TERM PS1='\u:\w\$ ' \
-                                               PATH=/usr/local/bin:/opt/$MACHINE-uClibc/usr/bin:/bin:/usr/bin:/sbin:/usr/sbin \
+                                               PATH=/opt/$MACHINE-uClibc/bin:/bin:/usr/bin:/sbin:/usr/sbin \
                                                VERSION=$VERSION \
                                                CONFIG_ROOT=$CONFIG_ROOT \
                                                LFS_PASS="install" \