Skip to content

Commit

Permalink
+Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jun 16, 2019
1 parent 48c9b1f commit 8d5ec76
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
17 changes: 0 additions & 17 deletions Sming/Arch/Esp8266/app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,6 @@ define LinkTarget
$(Q) $(LD) $(addprefix -L,$(LIBDIRS)) -T$(RBOOT_LD_0) $(LDFLAGS) -Wl,--start-group $(APP_AR) $(CLIBS) $(addprefix -l,$(LIBS)) -Wl,--end-group -o $@
endef

#
# $1 -> Library
#
define GenFrag
*/lib$1.a:*(.literal .text .literal.* .text.* .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.* .irom.debug.*)
endef

define GenLibLd
SECTION
{
.rom0.text:
{
$(foreach c,$(COMPONENTS),$(foreach l,$(CMP_$c_LIBS),$(call GenFrag,$l)))
}
}
endef

$(TARGET_OUT_0): $(APP_AR) $(COMPONENTS)
$(call LinkTarget)

Expand Down
2 changes: 0 additions & 2 deletions Sming/Arch/Host/Components/heap/component.mk

This file was deleted.

2 changes: 1 addition & 1 deletion Sming/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ user-lib-clean: ##Remove generated Component (user) libraries

.PHONY: clean
clean: ##Remove all generated build files
$(Q) rm -rf $(BUILD_BASE)
-$(Q) rm -rf $(BUILD_BASE)


##@Building
Expand Down
2 changes: 1 addition & 1 deletion Sming/Makefile-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ user-lib-clean: ##Remove generated Component (user) libraries

.PHONY: clean
clean: ##Remove all generated build files
$(Q) rm -rf $(OUT_BASE)
-$(Q) rm -rf $(OUT_BASE)


##@Tools
Expand Down

0 comments on commit 8d5ec76

Please sign in to comment.