fix unnecessary recompiling of packages
[openwrt.git] / package / rules.mk
index e5d3c50..cd63983 100644 (file)
@@ -68,15 +68,13 @@ configure:
        }
 
 compile-targets:
-compile:
+compile: prepare
        @[ -f $(PKG_BUILD_DIR)/.configured ] || { \
                $(PKG_TRACE) Configuring...; \
                $(MAKE) $(PKG_BUILD_DIR)/.configured $(MAKE_TRACE); \
        }
-       @[ -f $(PKG_BUILD_DIR)/.built ] || { \
-               $(PKG_TRACE) Compiling...; \
-               $(MAKE) compile-targets $(MAKE_TRACE); \
-       }
+       @$(PKG_TRACE) Compiling...
+       @$(MAKE) compile-targets $(MAKE_TRACE)
 
 install-targets:
 install:
This page took 0.022528 seconds and 4 git commands to generate.