summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2020-04-30 16:06:23 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-05-01 16:10:48 +0300
commite855ad8576ce02db51c8fc0c89810dbd337c21e8 (patch)
tree501532df30674050f086888b7db2dbe698450f28 /setup
parent4e8b2281e0575a37fa4dcb168eb6124acbc03f94 (diff)
downloadopenbmc-e855ad8576ce02db51c8fc0c89810dbd337c21e8.tar.xz
setup: support single-deep machine conf directories
The witherspoon config was moved directly into meta-ibm, which caused the setup script to not be able to find it. Modify the setup script to also find machine config files in single-deep meta directories. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icb24649c2e90cd29f72e8b661085b85cde6fcad5
Diffstat (limited to 'setup')
-rwxr-xr-xsetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup b/setup
index 9676bb38d..a5e90474d 100755
--- a/setup
+++ b/setup
@@ -31,7 +31,7 @@ machine() {
local target=$1
local build_dir=$2
local cfg name tmpl
- for cfg in meta-*/meta-*/conf/machine/*.conf; do
+ for cfg in meta-*/meta-*/conf/machine/*.conf meta-*/conf/machine/*.conf; do
name=${cfg##*/}
name=${name%.conf}
tmpl=${cfg%/machine/*.conf}