当前位置:网站首页>Rules.make-适合在编辑模式下看
Rules.make-适合在编辑模式下看
2022-08-04 05:30:00 【Btobk】
#platform
#源自中古法语的plate-forme,意为平台;最初源自古法语的plate (平的) + forme (形状),意为呈水平状的表面
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
#安装应用程序准备的目标文件系统,?= 是如果没有被赋值过就赋予等号后面的值
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.
#指向与demo文件系统匹配的 Linux 库和标头的根目录
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
#默认化交叉编译时使用的 CC 值。这样,#GNU make的cc的默认项将不使用主机经常使用的选项
#原本默认会从/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
#本地的环境配置文件
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
#安装时使用Strip模块节省/保存盘空间
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_DIR安装示例二进制文件
#将使用此脚本进行配置
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
添加r5的交叉编译以及uboot机器
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
边栏推荐
- 动手学深度学习__数据操作
- 图像resize
- lstm pipeline 过程理解(输入输出)
- Pytest常用插件
- How to grow into a senior engineer?
- How to get started with MOOSE platform - an example of how to run the official tutorial
- [Go language entry notes] 13. Structure (struct)
- yoloV5 使用——训练速度慢,加速训练
- Deep Adversarial Decomposition: A Unified Framework for Separating Superimposed Images
- AIDL communication between two APPs
猜你喜欢
How to get started with MOOSE platform - an example of how to run the official tutorial
AWS uses EC2 to reduce the training cost of DeepRacer: DeepRacer-for-cloud practical operation
中国联通、欧莱雅和钉钉都在争相打造的秘密武器?虚拟IP未来还有怎样的可能
【深度学习日记】第一天:Hello world,Hello CNN MNIST
Attention Is All You Need(Transformer)
tensorRT5.15 使用中的注意点
No matching function for call to 'RCTBridgeModuleNameForClass'
【论文阅读】SPANET: SPATIAL PYRAMID ATTENTION NETWORK FOR ENHANCED IMAGE RECOGNITION
动手学深度学习__数据操作
[CV-Learning] Linear Classifier (SVM Basics)
随机推荐
Linear Regression 02---Boston Housing Price Prediction
BatchNorm&&LayerNorm
Qt日常学习
Learning curve learning_curve function in sklearn
深度学习理论——过拟合、欠拟合、正则化、优化器
Copy攻城狮5分钟在线体验 MindIR 格式模型生成
剪映专业版字幕导出随笔
深度学习理论 —— 初始化、参数调节
Comparison of oracle's number and postgresql's numeric
Lee‘s way of Deep Learning 深度学习笔记
AIDL communication between two APPs
光条中心提取方法总结(一)
基于BiGRU和GAN的数据生成方法
[Go language entry notes] 13. Structure (struct)
fill_between in Matplotlib; np.argsort() function
【CV-Learning】Convolutional Neural Network
周志华机器学习
图像resize
Golang环境变量设置(二)--GOMODULE&GOPROXY
打金?工作室?账号被封?游戏灰黑产离我们有多近