openwrt移植到tiny210编译出现的问题

在尝试将OpenWRT移植到Tiny210平台时,遇到了编译错误,涉及patch应用失败,特别是802-switch-support.patch。通过查找资料,发现在dreambox-EOL目录下存在两个802-switch-support.patch文件,错误地替换了一个。正确的位置应该是dreambox-EOL/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/patches/platform/目录。此外,对补丁进行了微调,并提供了修正后的补丁下载链接。
摘要由CSDN通过智能技术生成

编译时报错:

patching file drivers/Kconfig
patching file drivers/Makefile
patching file include/linux/switch.h
Hunk #1 FAILED at 166.
Hunk #2 succeeded at 232 (offset 33 lines).
1 out of 2 hunks FAILED -- rejects in file include/linux/switch.h
Patch platform/802-switch-support.patch does not apply (enforce with -f)
make[4]: *** [/home/openwrt-dreambox/dreambox/branches/dreambox-EOL/build_dir/linux-s5pv210_tq210/linux-2.6.35.7/.quilt_checked] Error 1
make[4]: Leaving directory `/home/openwrt-dreambox/dreambox/branches/dreambox-EOL/target/linux/s5pv210'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/openwrt-dreambox/dreambox/branches/dreambox-EOL/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/openwrt-dreambox/dreambox/branches/dreambox-EOL'
make[1]:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值