can4linux-3.5.3.gz can4 linux

源代码在线查看: target

软件大小: 428 K
上传用户: cz6891297
关键词: linux can4 can gz
下载地址: 免注册下载 普通下载 VIP

相关代码

				#!/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 ""				    exit				fi								rm -rf Makefile				ln -s  Makefile-$1 Makefile				unset KDIR				# load new environment for cross compilation				source cross-$1								echo "NOW:"				echo "$ unset KDIR"				if [ "xstandard" == "x$1" ]				then				    echo "unset ARCH CROSS_TOOL_PATH CROSS_COMPILE LD"				else 				    echo "$ . cross-$1"				fi											

相关资源