From 96277cfcea64ba6965b20fd78529f2f6fa59e32a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 10 Aug 2001 08:00:08 +0000 Subject: Update the build system, yet again. I hope this is the last time... Here is the basic theory of operation: SHARED_LIB_LOADER_PATH/ DEVEL_PREFIX/ bin/ lib/ include/ SYSTEM_DEVEL_PREFIX/ usr/bin/ PREFIX This is prepended during 'make install's allowing you to shift things to be installed under some alternate location (such as when building a .deb) -Erik --- README | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'README') diff --git a/README b/README index 07d04fadd..34268dfc8 100644 --- a/README +++ b/README @@ -3,12 +3,11 @@ cp ./extra/Configs/Config. ./Config -Then edit ./Config for your setup. In particular, modify -CROSS and KERNEL_SOURCE as necessary. You may also want -to modify PREFIX if you want to install the development -environment to /usr/local/ or elsewhere. By default, the -development environment is installed into /usr and -/usr/-linux-uclibc/. +Then edit ./Config for your setup. In particular, modify CROSS and +KERNEL_SOURCE as necessary. You may also want to modify +SHARED_LIB_LOADER_PATH, DEVEL_PREFIX, and SYSTEM_DEVEL_PREFIX depending +on where you want to install the development environment. By default, +the development environment is installed into /usr/-linux-uclibc/. * Building: @@ -25,21 +24,16 @@ development environment is installed into /usr and This will install the header files, libraries, and the gcc wrapper into the directories defined in Config. -If you are targetting the same architecture as the host machine, -you may want to add a link from /lib/ld-uClibc.0 to the location -where ld-uClibc.0 was installed. This allows you to run binaries -compiled against uClibc without contaminating /lib too much. - * Installing the target runtime environment: (As root, if necessary,) - make TARGET_PREFIX=`pwd`/_install install_target + make PREFIX= install_target This installs only the files that are necessary to run binaries -compiled against uClibc. Hint: You really don't want to install -the target runtime environment on the host machine. +compiled against uClibc. Hint: You probably do not want to install +the target runtime environment on your host machine. * Using uClibc: -- cgit v1.2.3