diff --git a/Makefile b/Makefile index 1b580c0da..4093b0ed7 100644 --- a/Makefile +++ b/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: diff --git a/platform/Makefile b/platform/Makefile index 07083810e..d41e1c40c 100644 --- a/platform/Makefile +++ b/platform/Makefile @@ -125,9 +125,11 @@ $(PLATFORMDIR): $(TOPDIR)$(DELIM).config $(Q) $(DIRUNLINK) $(PLATFORMDIR) $(Q) $(DIRLINK) $(LINKDIR) $(PLATFORMDIR) +dirlinks: $(PLATFORMDIR) + install: -context: $(PLATFORMDIR) +context: dirlinks # Dependencies