Add the one job a a time fix from (#1866)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@7590 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-06-12 14:39:47 +00:00
parent 7e6b70a830
commit 20e82eaa38

View File

@ -87,16 +87,17 @@ define Build/Configure
--without-tcl \
--without-tk \
--with-zlib="yes" \
--enable-depend \
);
$(MAKE) -C $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc CC="$(HOSTCC)" CFLAGS+="-I../../libpq"
$(MAKE) -C $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc CC="$(HOSTCC)" CFLAGS+="-I../../libpq" -j1
mv $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg \
$(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host
$(MAKE) -C $(PKG_BUILD_DIR)/src/timezone CC="$(HOSTCC)"
$(MAKE) -C $(PKG_BUILD_DIR)/src/timezone CC="$(HOSTCC)" -j1
mv $(PKG_BUILD_DIR)/src/timezone/zic $(PKG_BUILD_DIR)/src/timezone/zic.host
$(MAKE) -C $(PKG_BUILD_DIR)/src/bin/pg_config CC="$(HOSTCC)"
$(MAKE) -C $(PKG_BUILD_DIR)/src/bin/pg_config CC="$(HOSTCC)" -j1
mv $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config \
$(PKG_BUILD_DIR)/src/bin/pg_config/pg_config.host
$(MAKE) -C $(PKG_BUILD_DIR) distclean
$(MAKE) -C $(PKG_BUILD_DIR) distclean -j1
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
$(TARGET_CONFIGURE_OPTS) \
@ -140,13 +141,14 @@ define Build/Configure
--without-tcl \
--without-tk \
--with-zlib="yes" \
--enable-depend \
);
$(SED) 's@ECPG = ../../preproc/ecpg@ECPG = ../../preproc/ecpg.host@' $(PKG_BUILD_DIR)/src/interfaces/ecpg/test/Makefile.regress
$(SED) 's@\./zic -d@./zic.host -d@' $(PKG_BUILD_DIR)/src/timezone/Makefile
endef
define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)" \
$(MAKE) -C "$(PKG_BUILD_DIR)" -j1 \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef