上一篇我们说到具体如何去配置Buildroot,编译,验证本章我们需要添加自己的应用程序,我们就以hello world为例子吧
1.首先我们进入buildroot 目录,并打开package/Config.in 拉到最下面添加如下内容
menu "Nexyho App"
source "package/Nexyho/Config.in"
endmenu
2.创建Nexyho文件夹,在文件中添加Config.in和Nexyho.mk两个文件
Config.in
config BR2_PACKAGE_NEXYHO
bool "nexyapp"
help
nexyho app
Nexyho.mk
#############################################################
#
# nexyho app
#
#############################################################
ifeq ($(BR2_PACKAGE_NEXYHO), y)
NEXYHO_VERSION:=1.0.0
NEXYHO_SITE=$(TOPDIR)/../external/nexyho
NEXYHO_SITE_METHOD=local
NEXYHO_CROSS_COMPILE=$(shell echo $(TARGET_CC)|awk -F 'gcc' '{
标签:Buildroot,自定义,NEXYHO,Nexyho,添加,芯微,nexyho,Config
From: https://blog.csdn.net/weixin_37001454/article/details/137601765