changeset 575:0198ac1e1a4f

cfile_symlink for GPF: a more robust approach
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Jan 2019 23:43:00 +0000
parents 41b6a18ffa0b
children 3cb2ce6e996a
files scripts/mk-component.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/mk-component.sh	Thu Jan 24 23:26:51 2019 +0000
+++ b/scripts/mk-component.sh	Thu Jan 24 23:43:00 2019 +0000
@@ -149,8 +149,8 @@
 		exit 1
 	fi
 	localcopy=`basename "$1"`
-	helpers/makeline dep $localcopy "$1" >> $BUILD_DIR/$LIBNAME/Makefile
-	helpers/makeline cmd ln -s "$1" . >> $BUILD_DIR/$LIBNAME/Makefile
+	echo "$localcopy:" >> $BUILD_DIR/$LIBNAME/Makefile
+	echo "	ln -s $1 ." >> $BUILD_DIR/$LIBNAME/Makefile
 	echo >> $BUILD_DIR/$LIBNAME/Makefile
 	cfile_plain $localcopy
 }