]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - lfs/bison
Merge branch 'ssp'
[ipfire-3.x.git] / lfs / bison
index c9df2810f896bc2fe2b08248f309e3419a7e8104..0d63945f53872bc84f9979ed282cdaa305c4d0f7 100644 (file)
--- a/lfs/bison
+++ b/lfs/bison
@@ -41,16 +41,16 @@ objects =$(DL_FILE)
 
 install : $(TARGET)
 
-download :$(patsubst %,$(DIR_DL)/%,$(objects))
+download : $(objects)
 
-$(patsubst %,$(DIR_DL)/%,$(objects)) :
+$(objects) :
        @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+$(TARGET) : 
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 
@@ -63,7 +63,7 @@ endif
 ifeq "$(STAGE)" "base"
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && echo '#define YYENABLE_NLS 1' >> config.h
-       cd $(DIR_APP) && make -j $(PARALLELISM)
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
        cd $(DIR_APP)/lib/ && \
                gcc -shared -Wl,-soname,liby.so.2.3 -o liby.so.2.3 -fPIC main.o yyerror.o