zephyr/samples/subsys/ipc/ipm_mailbox/Makefile
Anas Nashif 8c1a073bb1 samples: ipm sample using mailbox for Quark SE
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>
2017-03-29 15:53:28 -04:00

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