[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 
"/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/patches/series" 
]; then (cd 
"/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32"; 
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 
'/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/.quilt_checked' 
failed
make[4]: *** 
[/home/dani/chaos_calmer/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.14.32/.quilt_checked] 
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 
'/home/dani/chaos_calmer/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.target_compile' 
failed
make[1]: *** 
[/home/dani/chaos_calmer/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.target_compile] 
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:
http://codepad.org/vQbjmyrk

Thanks!
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list