结构如下:
build_linux_targetfs.sh
#!/bin/bash
CHECK_MARK="\033[0;32m\xE2\x9C\x94\033[0m"
X_MARK="\033[0;1;31mX\033[0m"
export TOP_DIR=$PWD
export TARGET_IMAGE_PATH=$TOP_DIR/filesystem/targetfs-images
export BSP_IMAGE_PATH=${
TOP_DIR}/../bsp_images
build_app=mpd
#usage
function usage() {
echo "Usage:
percp : build percp image
pnc : build pnc image
map : build map image
model : build model image
platform_service : build platform_service image
platform : build platform image
parameter : build parameter image
all : build all above images
example :
1. build one image:
./build_linux_targetfs.sh percp
2. build any numbers images:
./build_linux_t