From ffc7bb39cce77ae6243aa903f0cc1a96ab42bce8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 12 Jul 2001 21:41:31 +0000 Subject: This commit merges David Schleef's updates to the build system, which a few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik --- extra/Configs/Config.i386 | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) (limited to 'extra/Configs/Config.i386') diff --git a/extra/Configs/Config.i386 b/extra/Configs/Config.i386 index b383ebda8..387240fdc 100644 --- a/extra/Configs/Config.i386 +++ b/extra/Configs/Config.i386 @@ -139,23 +139,31 @@ INCLUDE_IPV6 = false # If you want to compile the library as PIC code, turn this on. DOPIC = false -# 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. +# PREFIX is the directory prefix that is applied to all installed +# files. Typically, it is set to /usr or /usr/local, although it +# could also be /opt/vendor_name_here/some/random/path/. The +# install_runtime makefile target installs a few symbolic links +# based on PREFIX, not DEVEL_PREFIX. # -# 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. -# -# 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 = +# DEVEL_PREFIX is the directory into which the development environment +# will be installed. Include files are installed into +# $(DEVEL_PREFIX)/include, libraries into $(DEVEL_PREFIX)/lib, etc. +# This directory is compiled into the uclibc cross compiler spoofer. +# Generally, DEVEL_PREFIX should be $(PREFIX)/$(TARGET_ARCH)-uclibc-linux. +# DEVEL_PREFIX is used by the Makefile install targets install_gcc, +# install_dev, and install_runtime. +# +# TARGET_PREFIX is the directory into which the target runtime +# environment is installed. The target runtime environment is +# what one would use for a embedded system where uclibc is the +# native libaray. This will typically be a staging area for +# creating a root filesystem for the target system, so the default +# is in the local directory. +# +# If you want to install to a temporary directory before copying +# files to their final location, you can change PREFIX after build +# but before 'make install'. +PREFIX = /usr +DEVEL_PREFIX = $(PREFIX)/$(TARGET_ARCH)-linux-uclibc +TARGET_PREFIX = $(TOPDIR)/_install + -- cgit v1.2.3