openwrt
榕树子
这个作者很懒,什么都没留下…
展开
-
【openwrt】如何编译和运行一个arm linux 内核
如何编译和运行一个arm linux 内核 1. 准备工具 linux4.0 内核 busybox工具包 2. busybox手工编译一个最小的文件系统 cd busybox export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- make menuconfig 进入menuconfig之后,配制成静态编译。 在make & make install 编译完成后,在busybox根目录下会有一个“install”目录,该目录存放了编译原创 2020-06-04 09:44:49 · 1934 阅读 · 0 评论 -
openwrt 第一个程序--helloword
openwrt 第一个程序–helloword 1.在package 下新建文件夹helloword helloword ├── Makefile └── src ├── helloworld.c └── Makefile helloword 文件夹下的Makefile如下: 注释部分# zzk 解决找不到libc.so.6库问题 ############################################## # OpenWrt Makefile for HelloWorl原创 2020-06-03 10:55:35 · 1163 阅读 · 0 评论