Ubuntu18.04下自定义meauconfig

本文档详细介绍了如何在Ubuntu 18.04操作系统中安装和使用自定义menuconfig。首先,通过安装一系列依赖软件包来准备环境。接着,从Bitbucket克隆并编译kconfig-frontends仓库,然后更新链接库路径。最后,通过测试步骤验证menuconfig的正确安装。参考链接提供了更多相关信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、前言

本文记录ubutu18.04下自定义meauconfig的安装使用

二、安装

参考链接:
https://nuttx.apache.org/docs/latest/quickstart/install.html
或者可以看这里
(1)先安装前置软件

sudo apt install \
bison flex gettext texinfo libncurses5-dev libncursesw5-dev \
gperf automake libtool pkg-config build-essential gperf genromfs \
libgmp-dev libmpc-dev libmpfr-dev libisl-dev binutils-dev libelf-dev \
libexpat-dev gcc-multilib g++-multilib picocom u-boot-tools util-linux

(2)拉取仓库并且编译

git clone https://bitbucket.org/nuttx/tools.git
cd tools/kconfig-frontends
./configure --enable-mconf --disable-nconf --disable-gconf --disable-qconf
make
make install

(3)变更链接库位置
kconfig-frontends的安装路径(一般为 /usr/local/lib)添加到 /etc 目录下的 ld.so.conf 文件中,然后执行ldconfig工具:

sudo vim /etc/ld.so.conf

在文件中添加: include /usr/local/lib,保存并退出

sudo ldconfig

三、测试

git clone https://github.com/skif-web/demo-kbuild.git
➜  demo-kbuild git:(master) ls
getLast.sh  KConfig  README.md

运行

kconfig-mconf KConfig

参考链接

https://www.cnblogs.com/zjutlitao/p/15253933.html
https://blog.youkuaiyun.com/weifengdq/article/details/122372497
https://nuttx.apache.org/docs/latest/quickstart/install.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值