From f6bc86db507cf5db75902b724fd796c3ff77cc57 Mon Sep 17 00:00:00 2001 From: Sharron LIU Date: Fri, 16 Jun 2017 13:40:18 +0800 Subject: [PATCH] samples: appdev: static_lib: added "make flash" ISSM team wanted to integrate "samples/application_development/static_lib" app into their IDE. Al-ashi, Mahmoud found it failed to "make flash" this app. Also this patch added "make flash" build targets. Signed-off-by: Sharron LIU --- samples/application_development/static_lib/Makefile | 2 +- samples/application_development/static_lib/hello_world/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/application_development/static_lib/Makefile b/samples/application_development/static_lib/Makefile index d601ca94ae3..1e1643783c2 100644 --- a/samples/application_development/static_lib/Makefile +++ b/samples/application_development/static_lib/Makefile @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 # -all qemu pristine clean: +all qemu flash pristine clean: $(MAKE) -C hello_world $@ run : qemu diff --git a/samples/application_development/static_lib/hello_world/Makefile b/samples/application_development/static_lib/hello_world/Makefile index f74c6aa5ddc..35a6af18955 100644 --- a/samples/application_development/static_lib/hello_world/Makefile +++ b/samples/application_development/static_lib/hello_world/Makefile @@ -13,7 +13,7 @@ export ALL_LIBS += mylib include ${ZEPHYR_BASE}/Makefile.inc -all qemu zephyr : all-mylib +all qemu flash zephyr : all-mylib clean pristine mrproper : clean-mylib all-mylib: outputexports