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
|
||||
|
||||
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
|
||||
$(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)"
|
||||
@ -110,6 +110,9 @@ install: $(BIN_DIR) .install
|
||||
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_serialize:
|
||||
|
@ -125,9 +125,11 @@ $(PLATFORMDIR): $(TOPDIR)$(DELIM).config
|
||||
$(Q) $(DIRUNLINK) $(PLATFORMDIR)
|
||||
$(Q) $(DIRLINK) $(LINKDIR) $(PLATFORMDIR)
|
||||
|
||||
dirlinks: $(PLATFORMDIR)
|
||||
|
||||
install:
|
||||
|
||||
context: $(PLATFORMDIR)
|
||||
context: dirlinks
|
||||
|
||||
# Dependencies
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user