This commit is contained in:
2020-08-24 11:19:45 +02:00
parent 2c3a30be49
commit 7b1f4e1ddc
+4 -5
View File
@@ -17,9 +17,9 @@ ARCHS += any
ARCHS := $(filter-out any,$(ARCHS)) ARCHS := $(filter-out any,$(ARCHS))
ifeq (,$(findstring -S,$(COMMANDLINE))) ifeq (,$(findstring -S,$(COMMANDLINE)))
ifneq ($(ARCH),) ifneq ($(ARCH),)
$(info ARCH: $(ARCH)) $(info ARCH: $(ARCH))
endif endif
endif endif
# ---------- Defines ---------- # ---------- Defines ----------
@@ -75,7 +75,6 @@ artifacts: $(LOCALOBJECTS)
# ---------- Libraries ---------- # ---------- Libraries ----------
define build_target_library_arch define build_target_library_arch
$(eval $@_DATETIME := $(DATETIME))
@echo -n " [AR] $(1)\n" @echo -n " [AR] $(1)\n"
@$(PREFIX) $(AR) -crs $(1) $(2) $(POSTFIX) @$(PREFIX) $(AR) -crs $(1) $(2) $(POSTFIX)
@mkdir -p $(ROOTPATH)/lib/$(ARCH) @mkdir -p $(ROOTPATH)/lib/$(ARCH)
@@ -154,7 +153,7 @@ endef
$(foreach target,$(TARGETS),$(eval $(call add_target,$(target)))) $(foreach target,$(TARGETS),$(eval $(call add_target,$(target))))
ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),clean)
-include $(LOCALDEPENDS) -include $(LOCALDEPENDS)
endif endif
# ---------- Object Rules ---------- # ---------- Object Rules ----------