summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-16 20:14:45 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-16 20:14:45 +0000
commit0ad1b4fdd341cae5283b21257711e1ab71097b8c (patch)
tree4f388c27fedd2d39e1bc236f702a322c6b19a788 /extra
parent51116eca39a0d9b78919fd85b7ae9d24a4efbc96 (diff)
Fix up a few little problems
Diffstat (limited to 'extra')
-rw-r--r--extra/gcc-uClibc/Makefile11
1 files changed, 2 insertions, 9 deletions
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