当前位置:网站首页>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
边栏推荐
- MOOSE平台官方第二个例子分析——关于创建Kernel,求解对流扩散方程
- 强化学习中,Q-Learning与Sarsa的差别有多大?
- MNIST Handwritten Digit Recognition - From Perceptrons to Convolutional Neural Networks
- 【论文阅读】Further Non-local and Channel Attention Networks for Vehicle Re-identification
- Endnote编辑参考文献
- No matching function for call to ‘RCTBridgeModuleNameForClass‘
- fuser 使用—— YOLOV5内存溢出——kill nvidai-smi 无pid 的 GPU 进程
- [日常办公][shell]常用代码段
- 多层LSTM
- 安装pyspider后运行pyspider all后遇到的问题
猜你喜欢
随机推荐
【论文阅读】Further Non-local and Channel Attention Networks for Vehicle Re-identification
Unity ML-agents 参数设置解明
Install Minikube Cluster in AWS-EC2
Copy Siege Lion's Annual "Battle" | Review 2020
AWS uses EC2 to reduce the training cost of DeepRacer: DeepRacer-for-cloud practical operation
tmux概念和使用
TensorRT 5 初步认识
LeetCode_Dec_2nd_Week
Copy攻城狮5分钟在线体验 MindIR 格式模型生成
Golang environment variable settings (2)--GOMODULE & GOPROXY
tensorRT教程——tensor RT OP理解(实现自定义层,搭建网络)
sbl_init.asm-适合在编辑模式下看
Thunderbolt turns off automatic updates
Golang环境变量设置(二)--GOMODULE&GOPROXY
[日常办公][杂项][vscode]tab space
Deep Learning Theory - Initialization, Parameter Adjustment
(Navigation page) OpenStack-M version - manual construction of two nodes - with video from station B
迅雷关闭自动更新
度量学习(Metric learning、损失函数、triplet、三元组损失、fastreid)
代码庆端午--粽你心意









