summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-02 18:40:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-02 18:40:37 +0100
commite1bb308860e23e3c30c72c267e12ac724880e672 (patch)
tree1630df9083e30b021341d850d25f9dac3d92665f /scripts
parent6927e2dbef90ad75be0f301fb48a513c4647a4c4 (diff)
fix native builds, enable hardware choices. enable parallelport for ibm-x40
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-pkg4
-rwxr-xr-xscripts/update-sys1
2 files changed, 4 insertions, 1 deletions
diff --git a/scripts/update-pkg b/scripts/update-pkg
index b2ff3feca..4fb16fbe3 100755
--- a/scripts/update-pkg
+++ b/scripts/update-pkg
@@ -1,4 +1,6 @@
-#!/bin/sh
+#!/usr/bin/env bash
+# create package collection Config.in file
+
topdir=$(readlink -nf $(dirname $0)/.. 2>/dev/null || (cd $(dirname $0)/..; pwd -P))
if [ -d "$topdir/target/packages/pkg-enabled" ];then
cat $topdir/target/packages/pkg-enabled/* > $topdir/target/packages/Config.in 2>/dev/null
diff --git a/scripts/update-sys b/scripts/update-sys
index d242e67c3..7b5688b83 100755
--- a/scripts/update-sys
+++ b/scripts/update-sys
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# 1. create Config.in.systems with all available target systems for each architecture
# 2. if ADK configuration exist, create Config.in.arch/Config.in.system with fixed values
+# 3. exit when native system build is detected
topdir=$(readlink -nf $(dirname $0)/.. 2>/dev/null || (cd $(dirname $0)/..; pwd -P))