From 5a79aa40e5a82a8358df0ab581f436df1e204134 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Sep 2014 08:00:47 -0600 Subject: Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished) --- apps/examples/pwm/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/examples/pwm/Makefile') diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile index d51bbf5dba..b26d3f0b44 100644 --- a/apps/examples/pwm/Makefile +++ b/apps/examples/pwm/Makefile @@ -87,8 +87,12 @@ ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) +install: + context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else +install: + context: endif -- cgit v1.2.3