[OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

Daniel Petre daniel.petre at gmail.com
Wed Feb 11 08:17:00 EST 2015

Hello awesome hackers,
i am trying to patch support for tp-link mr12u in trunk by duplicating 
mr13u files with the proper changes specific to mr12u but i am failing 
at kernel patching with:

make[3]: Entering directory '/home/dani/chaos_calmer/target/linux'
make[4]: Entering directory '/home/dani/chaos_calmer/target/linux/ar71xx'
if [ -s 
]; then (cd 
if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push 
-a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
Applying patch platform/610-MIPS-ath79-openwrt-machines.patch
patching file arch/mips/ath79/machtypes.h
patch: **** malformed patch at line 192:  #endif /* _ATH79_MACHTYPE_H */

Patch platform/610-MIPS-ath79-openwrt-machines.patch does not apply 
(enforce with -f)
Makefile:24: recipe for target 
make[4]: *** 
Error 1
make[4]: Leaving directory '/home/dani/chaos_calmer/target/linux/ar71xx'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/dani/chaos_calmer/target/linux'
target/Makefile:21: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/dani/chaos_calmer'
target/Makefile:16: recipe for target 
make[1]: *** 
Error 2
make[1]: Leaving directory '/home/dani/chaos_calmer'
/home/dani/chaos_calmer/include/toplevel.mk:179: recipe for target 
'world' failed
make: *** [world] Error 2

May i ask for review of my ugly hacked patches please? They are at:

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list