Bitbucket Issue 5, apps build system: The previous patch wasn't complete, it was just idea how to resolve issue. Please, find attached issue5.patch to resolve it. It can be applied on top current apps/master. From Artur Mądrzak.
This commit is contained in:
parent
eaeab500a3
commit
f5dd9811dc
@ -46,7 +46,7 @@ all: nothing
|
|||||||
|
|
||||||
define SDIR_template
|
define SDIR_template
|
||||||
$(1)_$(2):
|
$(1)_$(2):
|
||||||
$(Q) cd $(1) $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
$(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),preconfig)))
|
$(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),preconfig)))
|
||||||
|
4
Makefile
4
Makefile
@ -79,13 +79,13 @@ all: $(BIN)
|
|||||||
.PHONY: import install dirlinks context context_serialize context_rest .depdirs preconfig depend clean distclean
|
.PHONY: import install dirlinks context context_serialize context_rest .depdirs preconfig depend clean distclean
|
||||||
|
|
||||||
define MAKE_template
|
define MAKE_template
|
||||||
$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)"
|
$(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)"
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define SDIR_template
|
define SDIR_template
|
||||||
$(1)_$(2):
|
$(1)_$(2):
|
||||||
$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)"
|
$(Q) cd $(1) && $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)"
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user