当前位置:网站首页>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
边栏推荐
- MNIST手写数字识别 —— 从零构建感知机实现二分类
- 度量学习(Metric learning、损失函数、triplet、三元组损失、fastreid)
- 腾讯、网易纷纷出手,火到出圈的元宇宙到底是个啥?
- pytorch学习-没掌握的点
- Copy Siege Lion 5-minute online experience MindIR format model generation
- Various commands such as creating a new user in postgresql
- PyTorch
- 图像resize
- ValueError: Expected 96 from C header, got 88 from PyObject
- MNIST handwritten digit recognition, sorted by from two to ten
猜你喜欢
动手学深度学习__张量
MNIST handwritten digit recognition, sorted by from two to ten
打金?工作室?账号被封?游戏灰黑产离我们有多近
Usage of RecyclerView
TensorRT 5 初步认识
基于BiGRU和GAN的数据生成方法
动手学深度学习_线性回归
【论文阅读】SPANET: SPATIAL PYRAMID ATTENTION NETWORK FOR ENHANCED IMAGE RECOGNITION
target has libraries with conflicting names: libcrypto.a and libssl.a.
动手学深度学习__数据操作
随机推荐
PP-LiteSeg
【CV-Learning】线性分类器(SVM基础)
PCL窗口操作
【深度学习日记】第一天:Hello world,Hello CNN MNIST
基于PyTorch的FCN-8s语义分割模型搭建
yolov3 data reading (2)
Image-Adaptive YOLO for Object Detection in Adverse Weather Conditions
MFC读取点云,只能正常显示第一个,显示后面时报错
Polynomial Regression (PolynomialFeatures)
详解近端策略优化
2020-10-19
打金?工作室?账号被封?游戏灰黑产离我们有多近
Pytorch语义分割理解
Attention Is All You Need(Transformer)
The use of the attribute of the use of the animation and ButterKnife
Machine Learning - Processing of Text Labels for Classification Problems (Feature Engineering)
0, deep learning 21 days learning challenge 】 【 set up learning environment
【论文阅读】Mining Cross-Image Semantics for Weakly Supervised Semantic Segmentation
深度学习理论——过拟合、欠拟合、正则化、优化器
[Deep Learning 21 Days Learning Challenge] 2. Complex sample classification and recognition - convolutional neural network (CNN) clothing image classification