⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 split_by_variant.sh

📁 U-boot源码 ARM7启动代码
💻 SH
字号:
#!/bin/sh# ---------------------------------------------------------#  Set the core module defines according to Core Module# ---------------------------------------------------------config="$1"# ---------------------------------------------------------# Set up the Realview type define# ---------------------------------------------------------# Use this until later versions provide distinct core tiles# ---------------------------------------------------------cpu=armct_rvif [ "$1" == "" ]then	echo "$0:: No parameters - using arm-linux-gcc realview_eb_config"else	case "$config" in	realview_eb_config)	echo "#define CONFIG_REALVIEW_EB" > ./include/config.h	;;	*)	echo "$0:: Unrecognised config - using realview_eb_config"	echo "#define CONFIG_REALVIEW_EB" > ./include/config.h	;;	esacfi# ---------------------------------------------------------#	Ensure correct core object loaded first in U-Boot image# ---------------------------------------------------------sed -r 's/CPU_FILE/cpu\/'$cpu'\/start.o/; s/#.*//' board/realview_eb/u-boot.lds.template > board/realview_eb/u-boot.lds# ---------------------------------------------------------# Complete the configuration# ---------------------------------------------------------./mkconfig -a realview_eb arm $cpu realview_eb

⌨️ 快捷键说明

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