summaryrefslogtreecommitdiff
path: root/docs/overview.txt
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-23 13:45:48 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-23 13:45:48 (GMT)
commit1c625d676cb8703fbf8956bc87d90bf5cdf21d89 (patch)
tree2f8c3bd3c0a883a90414fb8a1f465ccbae5d104d /docs/overview.txt
parent58e57f180c46d4ad470d63b3a6033af3a395dabd (diff)
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(-)
Diffstat (limited to 'docs/overview.txt')
-rw-r--r--docs/overview.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/overview.txt b/docs/overview.txt
index 675f2da..c040646 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: