diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-05-26 09:34:50 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-05-26 09:34:50 +0000 |
commit | f0fc9808c891f53b4e94668b58dfffc70801b106 (patch) | |
tree | df757d6885abe063dc6c42b58e46a2d477e6c85a /rules/host-pkg-config.make | |
parent | 415dd9ba17b611b1f92d5f6c63a676cd1976bb93 (diff) | |
download | ptxdist-f0fc9808c891f53b4e94668b58dfffc70801b106.tar.gz ptxdist-f0fc9808c891f53b4e94668b58dfffc70801b106.tar.xz |
* host-libxml2.make, host-pkg-config.make:
cleanups
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8238 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-pkg-config.make')
-rw-r--r-- | rules/host-pkg-config.make | 53 |
1 files changed, 2 insertions, 51 deletions
diff --git a/rules/host-pkg-config.make b/rules/host-pkg-config.make index da03fe155..49908a68e 100644 --- a/rules/host-pkg-config.make +++ b/rules/host-pkg-config.make @@ -1,7 +1,7 @@ # -*-makefile-*- # $Id$ # -# Copyright (C) 2006 by Marc Kleine-Budde <mkl@pengutronix.de> +# Copyright (C) 2006-2008 by Marc Kleine-Budde <mkl@pengutronix.de> # # See CREDITS for details about who has contributed to this project. # @@ -28,30 +28,11 @@ HOST_PKG_CONFIG_DIR := $(HOST_BUILDDIR)/$(HOST_PKG_CONFIG) # Get # ---------------------------------------------------------------------------- -host-pkg-config_get: $(STATEDIR)/host-pkg-config.get - -$(STATEDIR)/host-pkg-config.get: - @$(call targetinfo, $@) - @$(call touch, $@) - $(HOST_PKG_CONFIG_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, HOST_PKG_CONFIG) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -host-pkg-config_extract: $(STATEDIR)/host-pkg-config.extract - -$(STATEDIR)/host-pkg-config.extract: - @$(call targetinfo, $@) - @$(call clean, $(HOST_PKG_CONFIG_DIR)) - @$(call extract, HOST_PKG_CONFIG, $(HOST_BUILDDIR)) - @$(call patchin, HOST_PKG_CONFIG, $(HOST_PKG_CONFIG_DIR)) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- @@ -65,36 +46,6 @@ HOST_PKG_CONFIG_ENV := $(HOST_ENV) # HOST_PKG_CONFIG_AUTOCONF := $(HOST_AUTOCONF) -$(STATEDIR)/host-pkg-config.prepare: - @$(call targetinfo, $@) - @$(call clean, $(HOST_PKG_CONFIG_DIR)/config.cache) - cd $(HOST_PKG_CONFIG_DIR) && \ - $(HOST_PKG_CONFIG_PATH) $(HOST_PKG_CONFIG_ENV) \ - ./configure $(HOST_PKG_CONFIG_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -host-pkg-config_compile: $(STATEDIR)/host-pkg-config.compile - -$(STATEDIR)/host-pkg-config.compile: - @$(call targetinfo, $@) - cd $(HOST_PKG_CONFIG_DIR) && $(HOST_PKG_CONFIG_PATH) $(MAKE) $(PARALLELMFLAGS) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -host-pkg-config_install: $(STATEDIR)/host-pkg-config.install - -$(STATEDIR)/host-pkg-config.install: - @$(call targetinfo, $@) - @$(call install, HOST_PKG_CONFIG,,h) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- |