From 1c625d676cb8703fbf8956bc87d90bf5cdf21d89 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 23 Oct 2008 13:45:48 +0000 Subject: Push the calculation of the tuple's kernel part down to kernel's build scripts: - update the kernel script's API with the function CT_DiKernelTupleValues - update doc accordingly (also with the architecture change, missing in the previous commit) - small clean-up in the main script, remove useless test /trunk/scripts/build/kernel/bare-metal.sh | 5 5 0 0 +++++ /trunk/scripts/build/kernel/linux.sh | 5 5 0 0 +++++ /trunk/scripts/crosstool.sh | 31 13 18 0 +++++++++++++------------------ /trunk/scripts/functions | 15 8 7 0 ++++++++------- /trunk/docs/overview.txt | 13 9 4 0 +++++++++---- 5 files changed, 40 insertions(+), 29 deletions(-) --- docs/overview.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'docs/overview.txt') diff --git a/docs/overview.txt b/docs/overview.txt index 675f2da8..c040646a 100644 --- a/docs/overview.txt +++ b/docs/overview.txt @@ -512,9 +512,8 @@ was unbuildable. Kconfig parser | ---------------+ -The kconfig language is a hacked version, vampirised from the toybox project -by Rob LANDLEY (http://www.landley.net/code/toybox/), itself coming from the -Linux kernel (http://www.kernel.org/), and (heavily) adapted to my needs. +The kconfig language is a hacked version, vampirised from the Linux kernel +(http://www.kernel.org/), and (heavily) adapted to my needs. The kconfig parsers (conf and mconf) are not installed pre-built, but as source files. Thus you can have the directory where crosstool-NG is installed, @@ -573,7 +572,7 @@ The architecture's ".in" file API: prefix is unique among architectures, and does not cause harm). The architecture's ".sh" file API: - > the function "CT_DoArchValues" + > the function "CT_DoArchTupleValues" + parameters: none + environment: - all variables from the ".config" file, @@ -701,6 +700,12 @@ The kernel's ".in" file must contain: The kernel's ".sh" file API: > is a bash script fragment + > defines the function CT_DoKernelTupleValues + + see the architecture's CT_DoArchTupleValues, except for: + + set the environment variable CT_TARGET_KERNEL, the kernel part of the + target tuple + + return value: ignored + > defines the function "do_print_filename": + parameters: none + environment: -- cgit v1.2.3