re-add sample that was dropped by mistake and add a top level Makefile for building and flashing two cores. Change-Id: Ie22ac1efa7b5373999997489a2c866de19553128 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
23 lines
364 B
Makefile
23 lines
364 B
Makefile
|
|
# Sensor Subsystem
|
|
SS_APP = sensor
|
|
|
|
# Application Processor
|
|
APP = ap
|
|
|
|
all: sensor_app ap_app
|
|
|
|
sensor_app:
|
|
$(MAKE) -C $(SS_APP) O=$(CURDIR)/outdir/$(SS_APP)
|
|
|
|
ap_app:
|
|
$(MAKE) -C $(APP) O=$(CURDIR)/outdir/$(APP)
|
|
|
|
flash: sensor_app ap_app
|
|
$(MAKE) -C $(SS_APP) O=outdir/$(SS_APP) flash
|
|
$(MAKE) -C $(APP) O=outdir/$(APP) flash
|
|
|
|
pristine:
|
|
@rm -rf $(CURDIR)/outdir
|
|
|