当前位置:网站首页>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
边栏推荐
- 学习资料re-id
- Comparison of oracle's number and postgresql's numeric
- 如何成长为高级工程师?
- Code to celebrate the Dragon Boat Festival - Zongzi, your heart
- 亚马逊云科技Build On-Amazon Neptune基于知识图谱的推荐模型构建心得
- 光条中心提取方法总结(二)
- Fabric v1.1 环境搭建
- No matching function for call to ‘RCTBridgeModuleNameForClass‘
- Endnote编辑参考文献
- MFC 打开与保存点云PCD文件
猜你喜欢
Copy攻城狮5分钟在线体验 MindIR 格式模型生成
题目1000:输入两个整数a和b,计算a+b的和,此题是多组测试数据
剪映专业版字幕导出随笔
[CV-Learning] Linear Classifier (SVM Basics)
MNIST手写数字识别 —— Lenet-5首个商用级别卷积神经网络
Lee‘s way of Deep Learning 深度学习笔记
Tencent and NetEase have taken action one after another. What is the metaverse that is so popular that it is out of the circle?
光条提取中的连通域筛除
第一章 绪论
详解近端策略优化
随机推荐
Pytorch问题总结
[CV-Learning] Linear Classifier (SVM Basics)
LeetCode_Nov_4th_Week
FAREWARE ADDRESS
【五一专属】阿里云ECS大测评#五一专属|向所有热爱分享的“技术劳动者”致敬#
卷积神经网络入门详解
CSDN spree -- college round table spree
LeetCode_22_Apr_2nd_Week
"A minute" Copy siege lion log 】 【 run MindSpore LeNet model
[Copy Siege Lion Log] Flying Pulp Academy Intensive Learning 7-Day Punch Camp-Study Notes
MNIST手写数字识别 —— 从二分类到十分类
【论文阅读】Multi-View Spectral Clustering with Optimal Neighborhood Laplacian Matrix
Cut the hit pro subtitles export of essays
ConnectionRefusedError: [Errno 111] Connection refused问题解决
【代码学习】
LeetCode_Dec_2nd_Week
target has libraries with conflicting names: libcrypto.a and libssl.a.
LeetCode_Nov_5th_Week
【论文阅读】Exploring Spatial Significance via Hybrid Pyramidal Graph Network for Vehicle Re-identificatio
腾讯、网易纷纷出手,火到出圈的元宇宙到底是个啥?