summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-03 07:13:37 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-03 07:13:37 +0000
commita8c44154ec0c53668cf9c3140d018cee30f1586c (patch)
tree8bb8a1b0502cda7e0a20e4241728f409cc21492c
parent99668218ab6767d1e756a5dca8c117abdeaaaf7e (diff)
Oops.
-rw-r--r--Rules.mak1
-rw-r--r--extra/gcc-uClibc/Makefile2
2 files changed, 1 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 03334679c..7b8223950 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -91,7 +91,6 @@ endif
ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
LDSO=$(TOPDIR)lib/$(UCLIBC_LDSO)
DYNAMIC_LINKER=$(ROOT_DIR)/lib/$(UCLIBC_LDSO)
- BUILD_DYNAMIC_LINKER=$(shell cd $(TOPDIR)lib; pwd)/$(UCLIBC_LDSO)
else
LDSO=$(SYSTEM_LDSO)
DYNAMIC_LINKER=$(SYSTEM_LDSO)
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index 11e2d19e1..0eb6cbc8a 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/extra/gcc-uClibc/Makefile
@@ -19,7 +19,7 @@ gcc-uClibc.h: $(TOPDIR)/Config
@echo "#define GCC_INCDIR " \"-I$(GCCINCDIR)/\" >> gcc-uClibc.h
@echo "#define TARGET_ARCH " \"$(TARGET_ARCH)\" >> gcc-uClibc.h
@echo "#define DYNAMIC_LINKER " \"$(DYNAMIC_LINKER)\" >> gcc-uClibc.h
- @echo "#define BUILD_DYNAMIC_LINKER " \"$(BUILD_DYNAMIC_LINKER)\" >> gcc-uClibc.h
+ @echo "#define BUILD_DYNAMIC_LINKER " \"$(UCLIBC_DIR)/lib/$(UCLIBC_LDSO)\" >> gcc-uClibc.h
gcc-uClibc: gcc-uClibc.h gcc-uClibc.c
gcc -Wall -O2 -s gcc-uClibc.c -o $(TARGET_ARCH)-uclibc-gcc