diff nuc-fw/Makefile.build @ 89:d01098eccf21

nuc-fw: configuration mechanism hooked into the top level Makefile
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 25 Aug 2013 19:05:51 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nuc-fw/Makefile.build	Sun Aug 25 19:05:51 2013 +0000
@@ -0,0 +1,16 @@
+# The primary Makefile invokes ${MAKE} with this sub-Makefile
+# just like the typical subdirectory Makefiles.
+# This invokation happens after the processconf.sh step,
+# hence the include below.
+
+include	include/config.mk
+
+default: ${BUILD_DEFAULT_IMAGE}
+
+${BUILD_COMPONENTS}: FRC
+	cd $@; ${MAKE} ${MFLAGS}
+
+ramImage flashImage: ${BUILD_COMPONENTS}
+	cd finlink; ${MAKE} ${MFLAGS} $@
+
+FRC: