diff options
Diffstat (limited to 'apps/system/flash_eraseall/Makefile')
-rw-r--r-- | apps/system/flash_eraseall/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile index 93f686e81..f9784d0a3 100644 --- a/apps/system/flash_eraseall/Makefile +++ b/apps/system/flash_eraseall/Makefile @@ -91,8 +91,17 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +ifeq ($(CONFIG_BUILD_KERNEL),y) +$(INSTALL_DIR)/$(PROGNAME): $(OBJS) + @echo "LD: $<" + $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $(ARCHCRT0OBJ) $^ $(LDLIBS) + +install: $(INSTALL_DIR)/$(PROGNAME) + install: +endif + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) |