From ad923ea232ca60c999b9cc94faccc3b14c2fe3e0 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 26 Dec 2023 10:28:15 +0800
Subject: [PATCH] Update meta-igkboard to add igkboard-imx6ull support

---
 yocto/meta-igkboard/tools/igkboard-setup.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/yocto/meta-igkboard/tools/igkboard-setup.sh b/yocto/meta-igkboard/tools/igkboard-setup.sh
index dca643b..9482970 100755
--- a/yocto/meta-igkboard/tools/igkboard-setup.sh
+++ b/yocto/meta-igkboard/tools/igkboard-setup.sh
@@ -12,10 +12,12 @@
     echo "Options:"
     echo "  <machine>    machine name"
     echo "               - igkboard-imx8mp"
+    echo "               - igkboard-imx6ull"
     echo "  * [-b build-dir]: Build directory, if unspecified script uses 'build' as output directory"
     echo "  * [-h]: help"
     echo "Examples: "
     echo "$ MACHINE=igkboard-imx8mp source sources/meta-igkboard/tools/igkboard-setup.sh -b igkboard-imx8mp"
+    echo "$ MACHINE=igkboard-imx6ull source sources/meta-igkboard/tools/igkboard-setup.sh -b igkboard-imx6ull"
     echo
 }
 
@@ -89,7 +91,7 @@
 
 function igkboard_conf_set(){
     local build_dir=$1
-    cp $CWD/sources/meta-igkboard/conf/local.conf $CWD/${build_dir}/conf/local.conf
+    cp $CWD/sources/meta-igkboard/conf/${MACHINE}_local.conf $CWD/${build_dir}/conf/local.conf
     cp $CWD/sources/meta-igkboard/conf/bblayers.conf $CWD/${build_dir}/conf/bblayers.conf
 }
 

--
Gitblit v1.9.1