new-driver: Add missing \n that causes build errors.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 9 Jun 2016 06:40:54 +0000 (08:40 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 9 Jun 2016 10:56:55 +0000 (12:56 +0200)
Without this \n the Makefile.am contains errors and causes build issues
like this:

Makefile:3821: *** missing separator.  Stop.

source/new-driver

index 23fe85b8019e232e06837fbb4f4ffdf44bdf66b8..1f8f91da336ad7346734121be87b0f8943aee908 100755 (executable)
@@ -35,7 +35,7 @@ TMPL_HWMAKE_DRIVERLIB = """if HW_{upper}
 libsigrok_la_SOURCES +="""
 for tmpl_file in TMPL_FILES:
     TMPL_HWMAKE_DRIVERLIB += " \\\nsrc/hardware/{short}/" + tmpl_file
-TMPL_HWMAKE_DRIVERLIB += "\nendif"
+TMPL_HWMAKE_DRIVERLIB += "\nendif\n"
 
 
 def tmpl(template, names):