diff gsm-fw/Makefile @ 143:afceeeb2cba1

Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:35:48 +0000
parents nuc-fw/Makefile@85994b210f6a
children df335d255ac4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/Makefile	Tue Nov 12 05:35:48 2013 +0000
@@ -0,0 +1,23 @@
+SUBDIR=	bsp finlink include nucleus riviera serial sprintf sysglue
+
+default:	config.stamp
+	${MAKE} ${MFLAGS} -f Makefile.build $@
+
+ramImage flashImage:	config.stamp
+	${MAKE} ${MFLAGS} -f Makefile.build $@
+
+config.stamp:	build.conf
+	cfgmagic/processconf.sh
+	touch $@
+
+build.conf:
+	@echo 'Configuration is required before the build.'
+	@echo 'Please create a valid build.conf file by running config.sh'
+	@echo 'or copying an existing configuration file into place.'
+	@false
+
+clean: FRC
+	rm -f a.out core errs *.stamp
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+FRC: