Fix mk_module_init.sh to properly build sources from directory user_modules.
authorDave West <davew@uncensored.citadel.org>
Sat, 17 Oct 2009 21:05:05 +0000 (21:05 +0000)
committerDave West <davew@uncensored.citadel.org>
Sat, 17 Oct 2009 21:05:05 +0000 (21:05 +0000)
citadel/mk_module_init.sh

index 4bc379affed6527d5b43f71b6e077db454bce61f..9ea76c8fdde01b37969e4955d956cd2419af91a7 100755 (executable)
@@ -257,7 +257,7 @@ if [ -d "user_modules" ] ; then
                                if [ -f "$k" ] ; then
 # Add this .c file to the Makefile included list of SOURCES
 cat <<EOF >> $SRC_FILE
-SOURCES=\$(SOURCES) user_modules/$j/$k
+SOURCES += user_modules/$j/$k
 EOF
 
 # Generate a .o file name