| | |
| | | set -x |
| | | cp -f arch/${ARCH}/boot/zImage $PRFX_PATH |
| | | cp -f arch/${ARCH}/boot/dts/${BOARD}.dtb $PRFX_PATH |
| | | cp -f arch/${ARCH}/boot/dts/${BOARD}/*.dtbo $PRFX_PATH/overlays |
| | | if [ -d arch/${ARCH}/boot/dts/${BOARD} ] ; then |
| | | cp -f arch/${ARCH}/boot/dts/${BOARD}/*.dtbo $PRFX_PATH/overlays |
| | | fi |
| | | set +x |
| | | else |
| | | set -x |
| | | cp -f arch/${ARCH}/boot/Image $PRFX_PATH |
| | | cp -f arch/${ARCH}/boot/dts/freescale/${BOARD}.dtb $PRFX_PATH |
| | | #cp -f arch/${ARCH}/boot/dts/freescale/${BOARD}/*.dtbo $PRFX_PATH/overlays |
| | | if [ -d arch/${ARCH}/boot/dts/${BOARD} ] ; then |
| | | cp -f arch/${ARCH}/boot/dts/${BOARD}/*.dtbo $PRFX_PATH/overlays |
| | | fi |
| | | set +x |
| | | fi |
| | | |
| | |
| | | |
| | | pr_info "start ${BOARD} linux drivers" |
| | | |
| | | cd $DRV_PATH && ./build.sh |
| | | if [ -d $DRV_PATH ] ; then |
| | | cd $DRV_PATH && ./build.sh |
| | | fi |
| | | |
| | | cd $PRJ_PATH |
| | | } |
| | |
| | | rm -rf $PRJ_PATH/tarballs |
| | | rm -rf $PRFX_PATH |
| | | |
| | | cd $DRV_PATH && ./build.sh -c |
| | | if [ -d $DRV_PATH ] ; then |
| | | cd $DRV_PATH && ./build.sh -c |
| | | fi |
| | | |
| | | cd |
| | | } |