diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-pkg | 4 | ||||
-rwxr-xr-x | scripts/update-sys | 1 |
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)) |