From dd4d42c2b998b2b95912ac04106fb7a9b1b0a57e Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 31 May 2001 21:23:20 +0000 Subject: Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, and TARGET_PREFIX to allow more flexibility. Also modified the gcc wrapper to do the right thing if -Wl,--dynamic-linker,xxx is passed on the command line. The gcc wrapper will also check the env variable UCLIBC_GCC_LDOPT for a dynamic linker option at runtime (although command line arg overrides the env variable). --- extra/Configs/Config.arm | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'extra/Configs/Config.arm') diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm index 603ae7e07..85f3cab74 100644 --- a/extra/Configs/Config.arm +++ b/extra/Configs/Config.arm @@ -129,20 +129,23 @@ DOLFS = false # disabled. This is off by default. INCLUDE_RPC = false -# Installation location. For the default uClinux installation from -# Lineo for m68k, it should be: -# /opt/uClinux/m68k-pic-coff -# so includes installed in: /opt/uClinux/m68k-pic-coff/include -# libc.a and crt0.o in: /opt/uClinux/m68k-pic-coff/lib -# -# For ARM it should be: -# /opt/uClinux/arm-pic-elf -# so includes installed in: /opt/uClinux/arm-pic-elf/include -# libc.a and crt0.o in: /opt/uClinux/arm-pic-elf/lib +# ROOT_DIR is the base directory which will be compiled into the uClibc +# runtime environment. When compiled as a shared library, the shared +# library loader will look in /lib and /usr/lib +# for shared libraries. # -# For x86 this should be: -# /usr/i386-linux-uclibc -# so includes installed in: /usr/i386-linux-uclibc/include -# libc.a, libc.so.#, crt0.o in: /usr/i386-linux-uclibc/lib +# DEVEL_PREFIX is the base directory which will be compiled into the uClibc +# development environment. The uClibc development environment will +# look for the uClibc header files under /usr/include, +# and for static libs and crt0.o in /usr/lib. +# Also, 'make install' will install the compiler tools to +# /bin and /usr/bin. # -INSTALL_DIR = /usr/$(TARGET_ARCH)-linux-uclibc +# TARGET_PREFIX is the directory under which 'make install' will install the +# uClibc runtime environment. This path does not get compiled into anything, +# and is provided simply to make it easier to build standalone target systems. +# Note: This doesn't do anything if there are no shared libs. + +DEVEL_PREFIX = +ROOT_DIR = /usr/$(TARGET_ARCH)-linux-uclibc +TARGET_PREFIX = -- cgit v1.2.3