| | |
| | | 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 |
| | | } |
| | | |
| | |
| | | |
| | | 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 |
| | | } |
| | | |