JiapengLi / OpenWrt-HiLink-HLK-RM04

OpenWrt patch and installation guide for HiLink HLK-RM04
openwrt.org
55 stars 33 forks source link

openwrt-hlk-rm04-firwmware-tool.patch patch failed #2

Closed winterland1989 closed 10 years ago

winterland1989 commented 10 years ago

When i'm try to patch the makefile, the firwmware-tool patch failed, i checked the file and the correct patch should be this:

@@ -65,6 +65,7 @@
         $(call cc,fix-u-media-header cyg_crc32,-Wall)
         $(call cc,hcsmakeimage bcmalgo)
         $(call cc,mkporayfw, -Wall)
+        $(call cc,mkhilinkfw, -lcrypto)
+        $(call cc,mkdcs932, -Wall)
JiapengLi commented 10 years ago

Which revision of trunk did you use? Please checkout the r38317 or revision later. Because the Makefile which need to patch is updated. See this: https://dev.openwrt.org/browser/trunk/tools/firmware-utils/Makefile

JiapengLi commented 10 years ago

@winterland1989
I have updated the readme. Thank you!

winterland1989 commented 10 years ago

Yeah~ that i'm talking about, the trunk's makefile of new version already have $(call cc,mkdcs932, -Wall), so the patch works now, for r38317, i just use add that line for a workaround