summaryrefslogtreecommitdiff
path: root/scripts/build/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/kernel')
-rw-r--r--scripts/build/kernel/bare-metal.sh5
-rw-r--r--scripts/build/kernel/linux.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/kernel/bare-metal.sh b/scripts/build/kernel/bare-metal.sh
index 2dfda41..be83d16 100644
--- a/scripts/build/kernel/bare-metal.sh
+++ b/scripts/build/kernel/bare-metal.sh
@@ -2,6 +2,11 @@
# Copyright 2008 Yann E. MORIN
# Licensed under the GPL v2. See COPYING in the root of this package
+CT_DoKernelTupleValues() {
+ # For bare-metal, there is no kernel part in the tuple
+ CT_TARGET_KERNEL=
+}
+
do_print_filename() {
:
}
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh
index 27749e2..2313c8b 100644
--- a/scripts/build/kernel/linux.sh
+++ b/scripts/build/kernel/linux.sh
@@ -2,6 +2,11 @@
# Copyright 2007 Yann E. MORIN
# Licensed under the GPL v2. See COPYING in the root of this package
+CT_DoKernelTupleValues() {
+ # Nothing to do, keep the default value
+ :
+}
+
do_print_filename() {
echo "linux-${CT_KERNEL_VERSION}"
}