diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-01 05:34:41 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-01 05:34:41 +0000 |
commit | d632d42b34888f169a9394f2c5ce64ccca75a5cb (patch) | |
tree | 34a6836f3c2c2623dbee1731f96498d17476f5dd /make/busybox.mk | |
parent | b5f7712c837fd770bed24b1a904715b5fd057b78 (diff) |
Enable building soft float buildroot for gcc 3.3. Currently works for
i386 (limited to 64 bit long double... same as double), arm (libfloat),
mips, and mipsel.
Enable cross compiling a native gcc 3.3 toolchain to run on the target.
Misc rootfs cleanups... strip some things that weren't, eliminate duplicate
libs, move openssl shared libs out of /lib, reduce size of libssl.so
by dynamicly linking with libcrypto.so, fix dropbear compile on mips.
Diffstat (limited to 'make/busybox.mk')
-rw-r--r-- | make/busybox.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/make/busybox.mk b/make/busybox.mk index e6465e13c..d7b682b47 100644 --- a/make/busybox.mk +++ b/make/busybox.mk @@ -33,7 +33,7 @@ ifeq ($(USE_BUSYBOX_SNAPSHOT),true) ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) perl -i -p -e "s/^.*DOLFS.*/DOLFS=y/;" $(BUSYBOX_DIR)/.config endif - $(MAKE) CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_DIR) oldconfig + $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" -C $(BUSYBOX_DIR) oldconfig else # Not using snapshot cp $(BUSYBOX_CONFIG) $(BUSYBOX_DIR)/Config.h perl -i -p -e "s,^CROSS.*,CROSS=$(TARGET_CROSS),;" $(BUSYBOX_DIR)/Makefile @@ -47,10 +47,12 @@ endif busybox-unpack: $(BUSYBOX_DIR)/.configured $(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.configured - $(MAKE) CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" -C $(BUSYBOX_DIR) + $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ + -C $(BUSYBOX_DIR) $(TARGET_DIR)/bin/busybox: $(BUSYBOX_DIR)/busybox - $(MAKE) CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" -C $(BUSYBOX_DIR) install + $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ + -C $(BUSYBOX_DIR) install # Just in case -chmod a+x $(TARGET_DIR)/usr/share/udhcpc/default.script |