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

编译时报错:

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]: *** [/home/openwrt-dreambox/dreambox/branches/dreambox-EOL/staging_dir/ target-arm_v7-a_uClibc-0.9.30.1_eabi/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/openwrt-dreambox/dreambox/branches/dreambox-EO                                                                             L'
make: *** [world] 错误 2

经过网上查找友善官方给出了Bug修复补丁

http://www.arm9home.net/read.php?tid-80695-fpage-0-toread--page-1.html

但是我发现将新补丁覆盖了原来的那个补丁后,make还是出现同样的问题,

后经查找发现dreambox-EOL下有两处802-switch-support.patch文件,我替换的位置不正确,

需要替换dreambox-EOL/build_dir/linux-s5pv210_tiny210/linux-2.6.35.7/patches/platform/目录下的802-switch-support.patch才能生效。

同时我将补丁稍作修改,资源见:http://download.csdn.net/detail/daidi1989/9733945


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章