📄 target
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -