Cleanup
This commit is contained in:
@@ -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 ----------
|
||||||
|
|||||||
Reference in New Issue
Block a user