From 220a96f9926788ed531717f78e44fdf1e7ab3b34 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Dec 2010 22:45:29 +0100 Subject: rework architecture / embedded systems concept Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;) --- Makefile | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d1a29bd81..dda4236f6 100644 --- a/Makefile +++ b/Makefile @@ -12,33 +12,34 @@ v: .prereq_done set -x; ${_UNLIMIT} ${GMAKE_FMK} VERBOSE=1 all) 2>&1 | tee -a make.log help: - @echo 'Common targets:' - @echo ' switch TARGET=targetname - Backup current config and copy old saved target config' - @echo ' download - fetches all needed distfiles' - @echo 'Cleaning targets:' - @echo ' clean - Remove bin and build_dir directories' - @echo ' cleantarget - Same as "clean", but also remove toolchain for target' - @echo ' cleandir - Same as "clean", but also remove all built toolchains' - @echo ' cleankernel - Remove kernel dir, useful if you changed any kernel patches' - @echo ' distclean - Same as "cleandir", but also remove downloaded' - @echo ' distfiles and .config' - @echo '' @echo 'Configuration targets:' @echo ' config - Update current config utilising a line-oriented program' @echo ' menuconfig - Update current config utilising a menu based program' - @echo ' guiconfig - Update current config utilising a gui based program' @echo ' (default when .config does not exist)' + @echo ' guiconfig - Update current config utilising a gui based program' @echo ' oldconfig - Update current config utilising a provided .configs base' @echo ' allmodconfig - New config selecting all packages as modules when possible' @echo ' allconfig - New config selecting all packages when possible' @echo ' allnoconfig - New config where all options are answered with no' - @echo ' kernelconfig - Modify the target kernel configuration' @echo '' @echo 'Help targets:' @echo ' help - Print this help text' @echo ' pkg-help - Print help about selectively compiling single packages' @echo ' dev-help - Print help for developers / package maintainers' @echo '' + @echo 'Common targets:' + @echo ' switch ARCH=arch SYSTEM=system - Backup current config and copy old saved target config' + @echo ' download - fetches all needed distfiles' + @echo ' kernelconfig - Modify the target kernel configuration' + @echo '' + @echo 'Cleaning targets:' + @echo ' clean - Remove bin and build_dir directories' + @echo ' cleantarget - Same as "clean", but also remove toolchain for target' + @echo ' cleandir - Same as "clean", but also remove all built toolchains' + @echo ' cleankernel - Remove kernel dir, useful if you changed any kernel patches' + @echo ' distclean - Same as "cleandir", but also remove downloaded' + @echo ' distfiles and .config' + @echo '' @echo 'Other generic targets:' @echo ' all - Build everything as specified in .config' @echo ' (default if .config exists)' @@ -207,6 +208,7 @@ NO_ERROR=0 @echo 'HOSTCXX:=${CXX}' >>prereq.mk @echo 'HOSTCXXFLAGS:=-O2' >>prereq.mk @echo "HOST_LIBIDL_CONFIG:=$$(which libIDL-config-2)" >>prereq.mk + @echo "PKG_HOSTLIB_DIR:=$$(pkg-config --variable pc_path pkg-config)" >>prereq.mk @echo 'LANGUAGE:=C' >>prereq.mk @echo 'LC_ALL:=C' >>prereq.mk @echo 'MAKE:=$${GMAKE}' >>prereq.mk @@ -219,6 +221,7 @@ NO_ERROR=0 CC='${CC}' CPPFLAGS='${CPPFLAGS}' \ bash scripts/scan-tools.sh @echo '===> Prerequisites checked successfully.' + @bash scripts/create-sys @touch .adkinit @touch $@ -- cgit v1.2.3