summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/arch/s390.sh6
-rw-r--r--scripts/build/arch/s390x.sh6
-rw-r--r--scripts/functions1
3 files changed, 13 insertions, 0 deletions
diff --git a/scripts/build/arch/s390.sh b/scripts/build/arch/s390.sh
new file mode 100644
index 0000000..4ffcf25
--- /dev/null
+++ b/scripts/build/arch/s390.sh
@@ -0,0 +1,6 @@
+# Compute s390-specific values
+
+CT_DoArchTupleValues() {
+ # Defaults are all OK for s390
+ :
+}
diff --git a/scripts/build/arch/s390x.sh b/scripts/build/arch/s390x.sh
new file mode 100644
index 0000000..ef052d6
--- /dev/null
+++ b/scripts/build/arch/s390x.sh
@@ -0,0 +1,6 @@
+# Compute s390x-specific values
+
+CT_DoArchTupleValues() {
+ # The kernel architecture is the same name as for the 32-bit version:
+ CT_KERNEL_ARCH="s390"
+}
diff --git a/scripts/functions b/scripts/functions
index b9aa7e7..33a23a2 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -630,6 +630,7 @@ CT_Patch() {
local) patch_dirs=("${local_patch_dir}");;
bundled,local) patch_dirs=("${bundled_patch_dir}" "${local_patch_dir}");;
local,bundled) patch_dirs=("${local_patch_dir}" "${bundled_patch_dir}");;
+ none) patch_dirs=;;
esac
for d in "${patch_dirs[@]}"; do