view nuc-fw/Makefile @ 138:85994b210f6a

nuc-fw cleanup: old Nucleus demo (w/o TI fw framework) moved out of the way
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 11 Nov 2013 10:17:08 +0000
parents 595631eee4bc
children
line wrap: on
line source

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: