1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh git clean -x -f -d . git checkout -- . git pull TAG=`git log -1 --pretty=format:%h` IMAGE_DIR=`realpath $(pwd)/images_${TAG}` echo "==============================================" echo " Make release package" echo " IMAGE_DIR: ${IMAGE_DIR}" echo "==============================================" sed -i "/^IMG_PATH/c\IMG_PATH=..\/images_${TAG}\/" ./scripts/sd_mk.sh
15
CP_DIR=${IMAGE_DIR} ./make.sh kernel