您尚未登录。

楼主 # 2022-03-16 13:24:55

kc87654321
会员
注册时间: 2022-02-21
已发帖子: 4
积分: 0

esp8089编译

git clone https://github.com/al177/esp8089
git clone https://github.com/al177/esp8089

:对比内核版本4.1.35版本发现,在内核顶层的Makefile的LINUXINCLUDE宏中少加入了-I$(objtree)/arch/$(SRCARCH)/include/generated/uapi路径,加入后编译正常。
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
cd /mangopi_r3/openwrt/3/buildroot-tiny200-master/output/build/linux-5.4.99/
nano Makefile
LINUXINCLUDE    := \
        -I$(srctree)/arch/$(SRCARCH)/include \
        -I$(objtree)/arch/$(SRCARCH)/include/generated/uapi \


如果没有效果,可以尝试一下 apt-get install linux-libc-dev-arm64-cross --------------

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -C ~/mangopi_r3/openwrt/3/buildroot-tiny200-master1/output/build/linux-5.4.99/ M=${PWD} modules
80.png

最近编辑记录 kc87654321 (2022-03-16 13:30:16)

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn