diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-04-20 07:53:33 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-04-20 07:53:33 +0000 |
commit | 0622974e1918d5db1b1c98ece76d609de0772230 (patch) | |
tree | 2a7daf7d06ab9d594ca5a50c185e6eb96cbe7255 /extra/gcc-uClibc/Makefile | |
parent | c75d8083ee1db2ab7afb9c82db8c67d91edd18a2 (diff) |
Update the gcc wrapper. Changes described in the notes at the top of the file.
Diffstat (limited to 'extra/gcc-uClibc/Makefile')
-rw-r--r-- | extra/gcc-uClibc/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile index 7878c880f..30935392f 100644 --- a/extra/gcc-uClibc/Makefile +++ b/extra/gcc-uClibc/Makefile @@ -5,6 +5,7 @@ include $(TOPDIR)Rules.mak ifeq ($(TARGET_ARCH), i386) # Right now, I'm using .1 since .2 pulls in libc6 on my system. Manuel DYNAMIC_LINKER = /lib/ld-linux.so.1 +#DYNAMIC_LINKER = /lib/ld-linux-uclibc.so.1 else # For Erik's arm case. DYNAMIC_LINKER = $(shell ls /lib/ld*.so.[0-9] | sort | tail -n 1) @@ -18,11 +19,12 @@ GCC_LIB = $(shell $(CC) -print-libgcc-file-name ) all: gcc-uClibc clean: - rm -f gcc-uClibc.h *-gcc-uclibc core + rm -f gcc-uClibc.h *-uclibc-gcc core gcc-uClibc.h: clean @echo "/* this file is created by make */" > gcc-uClibc.h - @echo "#define UCLIBC_DIR " \"$(UCLIBC_DIR)/\" >> gcc-uClibc.h + @echo "#define UCLIBC_INSTALL_DIR " \"$(INSTALL_DIR)/\" >> gcc-uClibc.h + @echo "#define UCLIBC_BUILD_DIR " \"$(UCLIBC_DIR)/\" >> gcc-uClibc.h @echo "#define GCC_BIN " \"$(GCC_BIN)\" >> gcc-uClibc.h @echo "#define GCC_LIB " \"$(GCC_LIB)\" >> gcc-uClibc.h @echo "#define GCC_INCDIR " \"-I$(GCCINCDIR)/\" >> gcc-uClibc.h |