diff configure.sh @ 258:13bcc2ed7e44

configure.sh & targets/*.conf: emit FLASH_BASE_ADDR & FLASH_SECTOR_SIZE into the generated Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 04 Aug 2017 07:14:16 +0000
parents 17f3647752ba
children 2bb8b1c11afc
line wrap: on
line diff
--- a/configure.sh	Fri Aug 04 06:54:12 2017 +0000
+++ b/configure.sh	Fri Aug 04 07:14:16 2017 +0000
@@ -195,6 +195,10 @@
 	echo >> $BUILD_DIR/Makefile
 fi
 
+helpers/makeline def FLASH_BASE_ADDR $FLASH_BASE_ADDR >> $BUILD_DIR/Makefile
+helpers/makeline def FLASH_SECTOR_SIZE $FLASH_SECTOR_SIZE >> $BUILD_DIR/Makefile
+echo >> $BUILD_DIR/Makefile
+
 cat makefile-frags/first-part >> $BUILD_DIR/Makefile
 
 if [ "$USE_STR2IND" = 1 ]