diff configure.sh @ 90:7bd197063b9e

building RAM fw images for the Pirelli: initial concept
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Oct 2016 16:51:22 +0000
parents 46d9d68a3911
children 5c13f9325e2d
line wrap: on
line diff
--- a/configure.sh	Sun Oct 02 14:17:39 2016 +0000
+++ b/configure.sh	Sun Oct 02 16:51:22 2016 +0000
@@ -185,6 +185,13 @@
 helpers/makeline def LINK_SCRIPT_SRC ../$LINK_SCRIPT_SRC >> $BUILD_DIR/Makefile
 echo >> $BUILD_DIR/Makefile
 
+if [ -n "$RAM_LINK_SCRIPT_SRC" ]
+then
+	helpers/makeline def RAM_LINK_SCRIPT_SRC ../$RAM_LINK_SCRIPT_SRC \
+		>> $BUILD_DIR/Makefile
+	echo >> $BUILD_DIR/Makefile
+fi
+
 cat makefile-frags/first-part >> $BUILD_DIR/Makefile
 
 if [ "$USE_STR2IND" = 1 ]
@@ -205,6 +212,11 @@
 	cat makefile-frags/m0-to-bin-c139 >> $BUILD_DIR/Makefile
 fi
 
+if [ -n "$RAM_LINK_SCRIPT_SRC" ]
+then
+	cat makefile-frags/ram-link-steps >> $BUILD_DIR/Makefile
+fi
+
 cat makefile-frags/clean-always >> $BUILD_DIR/Makefile
 if [ "$str2ind_blobs_used" = 0 ]
 then