Pass source dir into makefile generator script

The script runs in build/, the source is in git/.

Change-Id: I3f6804f3a83013bc0afe7bfba8da585d2fd24413
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index b5a14ad..0234491 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@
 AS_IF([test "x$CHIPS" == "x"], [CHIPS="p9"])
 
 AC_CONFIG_FILES([Makefile.generated],
-    [${srcdir}/gen_makefile.sh "$myChips" > Makefile.generated],
+    [${srcdir}/gen_makefile.sh ${srcdir} "$myChips" > Makefile.generated],
     [myChips="$CHIPS"])
 
 PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging],, [AC_MSG_ERROR([Could not find phosphor-logging...openbmc/phosphor-logging package required])])