当前位置:网站首页>Rules.make - suitable for viewing in edit mode
Rules.make - suitable for viewing in edit mode
2022-08-04 06:29:00 【Btobk】
#platform
#From Middle Frenchplate-forme,Means platform;Originally from Old Frenchplate (平的) + forme (形状),Means a horizontal surface
PLATFORM=j7200-evm
#defconfig
#配置
DEFCONFIG=tisdk_j7200-evm_defconfig
#Architecture
结构结构
ARCH=aarch64
#u-boot machine
UBOOT_MACHINE=j7200_evm_a72_config
#Points to the root of the TI SDK
#指向 TI SDK 的根目录
export TI_SDK_PATH=/home/gp/ti-processor-sdk-linux-j7200-evm-08_02_00_02
#root of the target file system for installing applications
#Mount the target filesystem prepared by the application,?= 是如果没有被赋值过就赋予等号后面的值
DESTDIR ?=/home/gp/ti-processor-sdk-linux-j7200-evm-08_02_00_02/targetNFS
#Points to the root of the Linux libraries and headers matching the
#demo file system.
#指向与demofile system matching Linux Root directory for libraries and headers
export LINUX_DEVKIT_PATH=$(TI_SDK_PATH)/linux-devkit
#Cross compiler prefix
#交叉编译前缀
export CROSS_COMPILE=$(LINUX_DEVKIT_PATH)/sysroots/x86_64-arago-linux/usr/bin/aarch64-none-linux-gnu-
#Default CC value to be used when cross compiling. This is so that the
#GNU Make default of “cc” is not used to point to the host compiler
#Used by default when cross-compiling CC 值.这样,#GNU make的ccThe default will not use options that are often used by the host
#原本默认会从/usr/include目录中搜索头文件、从/usr/lib中搜索依赖库,当设置了–sysroot=dir后则会从dir/usr/include搜索头文件、从dir/usr/lib中搜索依赖库
export CC= ( C R O S S C O M P I L E ) g c c − − s y s r o o t = (CROSS_COMPILE)gcc --sysroot= (CROSSCOMPILE)gcc−−sysroot=(SDK_PATH_TARGET)
#Location of environment-setup file
#Local environment configuration file
export ENV_SETUP=$(LINUX_DEVKIT_PATH)/environment-setup
#The directory that points to the SDK kernel source tree
#该目录指向SDK的内核源文件
LINUXKERNEL_INSTALL_DIR=$(TI_SDK_PATH)/board-support/linux-5.10.100+gitAUTOINC+7a7a3af903-g7a7a3af903
CFLAGS=
#Strip modules when installing to conserve disk space
#安装时使用Stripmodule savings/Save disk space
INSTALL_MOD_STRIP=1
SDK_PATH_TARGET=$(TI_SDK_PATH)/linux-devkit/sysroots/aarch64-linux/
#Set EXEC_DIR to install example binaries.
#This will be configured with the setup.sh script.
#设置EXEC_DIRInstall the sample binaries
#This script will be used for configuration
EXEC_DIR ?=/home/gp/ti-processor-sdk-linux-j7200-evm-08_02_00_02/targetNFS/home/root/j7200-evm
#Add CROSS_COMPILE and UBOOT_MACHINE for the R5
添加r5of cross-compilation as welluboot机器
export CROSS_COMPILE_ARMV7=$(LINUX_DEVKIT_PATH)/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-
UBOOT_MACHINE_R5=j7200_evm_r5_config
MAKE_JOBS=4
边栏推荐
猜你喜欢
随机推荐
Install Minikube Cluster in AWS-EC2
MFC读取点云,只能正常显示第一个,显示后面时报错
A code example of the PCL method in the domain of DG (Domain Generalization)
数据库的简述与常用操作指南
集合--LinkedList
第二章 STA相关概念
Endnote编辑参考文献
度量学习(Metric learning)—— 基于分类损失函数(softmax、交叉熵、cosface、arcface)
【论文阅读】Further Non-local and Channel Attention Networks for Vehicle Re-identification
arm-2-基础阶段
安装pyspider后运行pyspider all后遇到的问题
tmux概念和使用
Pytorch问题总结
CAS无锁队列的实现
【五一专属】阿里云ECS大测评#五一专属|向所有热爱分享的“技术劳动者”致敬#
学习资料re-id
题目1000:输入两个整数a和b,计算a+b的和,此题是多组测试数据
第三章 标准单元库(下)
[日常办公][shell]常用代码段
Cut the hit pro subtitles export of essays









