add some fixes for parallel build (does not work with -j4 yet, but it gets most packa...
[openwrt/openwrt.git] / openwrt / target / Makefile
index 6a1bd954a0dac1629c25c868ef356de1da42041a..437609a28be1bebfe84d26bad8e9d4f1a4a5f1d9 100644 (file)
@@ -73,6 +73,7 @@ $(BIN_DIR):
        mkdir -p $(BIN_DIR)
 
 $(INSTALL_TARGET_DIRS): lzma-loader-compile
+$(IMAGE_TARGETS): $(patsubst %,%-install,$(TARGET_DIRS))
 compile: $(patsubst %,%-compile,$(TARGET_DIRS))
 install: utils-install lzma-install $(LINUX_IMAGE) $(patsubst %,%-install,$(TARGET_DIRS)) $(IMAGE_TARGETS)
 clean: $(patsubst %,%-clean,$(TARGET_DIRS)) image_clean