Add the dirlinks target to some Makefiles. This plugs some wholes open by last chicken-and-egg build fix
This commit is contained in:
parent
256a836a23
commit
28c397b3ce
5
Makefile
5
Makefile
@ -76,7 +76,7 @@ BIN = libapps$(LIBEXT)
|
|||||||
# Build targets
|
# Build targets
|
||||||
|
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
.PHONY: import install 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) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)"
|
||||||
@ -110,6 +110,9 @@ install: $(BIN_DIR) .install
|
|||||||
import:
|
import:
|
||||||
$(Q) $(MAKE) .import TOPDIR="$(APPDIR)$(DELIM)import"
|
$(Q) $(MAKE) .import TOPDIR="$(APPDIR)$(DELIM)import"
|
||||||
|
|
||||||
|
dirlinks:
|
||||||
|
$(Q) $(MAKE) -C platform dirlinks TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
||||||
|
|
||||||
context_rest: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_context)
|
context_rest: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_context)
|
||||||
|
|
||||||
context_serialize:
|
context_serialize:
|
||||||
|
@ -125,9 +125,11 @@ $(PLATFORMDIR): $(TOPDIR)$(DELIM).config
|
|||||||
$(Q) $(DIRUNLINK) $(PLATFORMDIR)
|
$(Q) $(DIRUNLINK) $(PLATFORMDIR)
|
||||||
$(Q) $(DIRLINK) $(LINKDIR) $(PLATFORMDIR)
|
$(Q) $(DIRLINK) $(LINKDIR) $(PLATFORMDIR)
|
||||||
|
|
||||||
|
dirlinks: $(PLATFORMDIR)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
context: $(PLATFORMDIR)
|
context: dirlinks
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user