From 0ad1b4fdd341cae5283b21257711e1ab71097b8c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 16 May 2001 20:14:45 +0000 Subject: Fix up a few little problems --- extra/gcc-uClibc/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'extra/gcc-uClibc') diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile index 773a3b429..71e31620c 100644 --- a/extra/gcc-uClibc/Makefile +++ b/extra/gcc-uClibc/Makefile @@ -1,14 +1,6 @@ TOPDIR = ../../ include $(TOPDIR)Rules.mak -# NOTE: This may need to be modified for your system -ifeq ($(LDSO_PRESENT), $(TARGET_ARCH)) - DYNAMIC_LINKER=$(INSTALL_DIR)/lib/$(UCLIBC_LDSO) -else - DYNAMIC_LINKER=$(SYSTEM_LDSO) -endif - - UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd)) GCC_BIN = $(shell which $(CC)) LD_BIN = $(shell which $(LD)) @@ -33,7 +25,8 @@ gcc-uClibc: gcc-uClibc.h gcc-uClibc.c ld-uClibc: @echo "#!/bin/sh" > $(TARGET_ARCH)-uclibc-ld @echo "# This file was autogenerated by make" >> $(TARGET_ARCH)-uclibc-ld - @echo "$(LD_BIN) -L- -L $(INSTALL_DIR)/lib -L$(UCLIBC_DIR) \$$@" >> $(TARGET_ARCH)-uclibc-ld + @echo "$(LD_BIN) -L- -L$(INSTALL_DIR)/lib -L$(INSTALL_DIR)/usr/lib "\ + "-L$(UCLIBC_DIR) \$$@" >> $(TARGET_ARCH)-uclibc-ld chmod a+x $(TARGET_ARCH)-uclibc-ld install: all -- cgit v1.2.3