target

来自「can4linux-3.5.3.gz can4 linux」· 代码 · 共 45 行

TXT
45
字号
#!/bin/sh##echo "Select Target compilatiion environment"echo "======================================"echo ""echo "./target target"echo "where target = mcp2515 | mmc | at9263 | standard | "echo "mcp2515 - SSV ATMEL9263 with external MCP2515"echo "mmc     - Heyfra MMC, ATMEL AT91SAM9260, 3 external SJA1000"echo "host    - local host PC, using the local kernel source tree"echo "          call make TARGET= for different supported boards" echo ""echo "the script does: ln -s Makefile-$1 Makefile"echo "before calling make, adjust cross-$1 and source it in"if [ ! -e Makefile-$1 ]then     echo ""    echo "===> target $1 not supported"    echo ""    exitfirm -rf Makefileln -s  Makefile-$1 Makefileunset KDIR# load new environment for cross compilationsource cross-$1echo "NOW:"echo "$ unset KDIR"if [ "xstandard" == "x$1" ]then    echo "unset ARCH CROSS_TOOL_PATH CROSS_COMPILE LD"else     echo "$ . cross-$1"fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?