diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-07-25 23:28:19 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-07-25 23:28:19 +0200 |
commit | a06bdb479a95ed49e4a58dd75c818086173534ae (patch) | |
tree | f3c206aa3daaf3354c185a2297420dd786326d6e /mk/zlib.mk | |
parent | 8fe32c17ce90cc6788bb9dfb5ac0e0decedaa5dd (diff) | |
download | embtoolkit-a06bdb479a95ed49e4a58dd75c818086173534ae.tar.gz embtoolkit-a06bdb479a95ed49e4a58dd75c818086173534ae.tar.bz2 embtoolkit-a06bdb479a95ed49e4a58dd75c818086173534ae.tar.xz |
Embtk: Make use of J env var for parallel build
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/zlib.mk')
-rw-r--r-- | mk/zlib.mk | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,4 +1,4 @@ -######################################################################################### +################################################################################ # GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> # Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. # @@ -14,13 +14,13 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -######################################################################################### +################################################################################ # # \file zlib.mk # \brief zlib.mk of Embtoolkit. # \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> # \date June 2009 -######################################################################################### +################################################################################ ZLIB_VERSION := 1.2.3 ZLIB_SITE := http://www.gzip.org/zlib @@ -32,8 +32,9 @@ zlib_host_install: $(ZLIB_HOST_BUILD_DIR)/.installed zlib_target_install: $(ZLIB_TARGET_BUILD_DIR)/.installed #zlib on host machine -$(ZLIB_HOST_BUILD_DIR)/.installed: download_zlib $(ZLIB_HOST_BUILD_DIR)/.decompressed - @$(MAKE) -C $(TOOLS_BUILD)/zlib-$(ZLIB_VERSION)-host +$(ZLIB_HOST_BUILD_DIR)/.installed: download_zlib \ + $(ZLIB_HOST_BUILD_DIR)/.decompressed + @$(MAKE) -C $(TOOLS_BUILD)/zlib-$(ZLIB_VERSION)-host $(J) @$(MAKE) -C $(TOOLS_BUILD)/zlib-$(ZLIB_VERSION)-host \ prefix=$(HOSTTOOLS)/usr/local install @touch $@ |