]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - pkgs/toolchain/patch/patch.nm
naoki: Mixed things.
[people/stevee/ipfire-3.x.git] / pkgs / toolchain / patch / patch.nm
index 253f848d53e4140ede75bbd49fa83f4ca3cf4d10..8b1a16a631f4f73972ba0f48a8271ea6e703ca2c 100644 (file)
@@ -1,14 +1,11 @@
 
 include ../../core/patch/patch.nm
 
-$(STAGE_BUILD): $(STAGE_PREPARE)
-       @$(PRE_BUILD)
-
+define STAGE_BUILD
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \
                        --prefix=$(TOOLS_DIR)
 
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-
-       @$(POST_BUILD)
+endef