diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-05-05 17:31:50 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-05-05 17:31:50 +0000 |
commit | 8ebd53b47ae2da13f26509c1330140bbcb4839da (patch) | |
tree | 089e63165f40d3b3f93c36429fc070138e24b622 /rules/host-apache2.make | |
parent | 04894cde224702c88e2f8aa09ede1d8f5734f6ce (diff) | |
download | ptxdist-8ebd53b47ae2da13f26509c1330140bbcb4839da.tar.gz ptxdist-8ebd53b47ae2da13f26509c1330140bbcb4839da.tar.xz |
[host-apache2] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10360 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-apache2.make')
-rw-r--r-- | rules/host-apache2.make | 46 |
1 files changed, 12 insertions, 34 deletions
diff --git a/rules/host-apache2.make b/rules/host-apache2.make index d914eb97a..34d6e6f01 100644 --- a/rules/host-apache2.make +++ b/rules/host-apache2.make @@ -2,6 +2,7 @@ # $Id$ # # Copyright (C) 2005 by Robert Schwebel +# 2009 by Marc Kleine-Budde <mkl@pengutronix.de> # # See CREDITS for details about who has contributed to this project. # @@ -25,31 +26,25 @@ HOST_APACHE2_DIR = $(HOST_BUILDDIR)/$(HOST_APACHE2) # Get # ---------------------------------------------------------------------------- -host-apache2_get: $(STATEDIR)/host-apache2.get - $(STATEDIR)/host-apache2.get: $(STATEDIR)/apache2.get - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -host-apache2_extract: $(STATEDIR)/host-apache2.extract - -$(STATEDIR)/host-apache2.extract: $(host-apache2_extract_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/host-apache2.extract: + @$(call targetinfo) @$(call clean, $(HOST_APACHE2_DIR)) @$(call extract, APACHE2, $(HOST_BUILDDIR)) @$(call patchin, APACHE2, $(HOST_APACHE2_DIR)) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -host-apache2_prepare: $(STATEDIR)/host-apache2.prepare - HOST_APACHE2_PATH := PATH=$(HOST_PATH) HOST_APACHE2_ENV := $(HOSTCC_ENV) @@ -58,41 +53,24 @@ HOST_APACHE2_ENV := $(HOSTCC_ENV) # HOST_APACHE2_AUTOCONF := $(HOST_AUTOCONF) -$(STATEDIR)/host-apache2.prepare: $(host-apache2_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(HOST_APACHE2_DIR)/config.cache) - cd $(HOST_APACHE2_DIR) && \ - $(HOST_APACHE2_PATH) $(HOST_APACHE2_ENV) \ - ./configure $(HOST_APACHE2_AUTOCONF) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- -host-apache2_compile: $(STATEDIR)/host-apache2.compile - -$(STATEDIR)/host-apache2.compile: $(host-apache2_compile_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/host-apache2.compile: + @$(call targetinfo) cd $(HOST_APACHE2_DIR)/srclib/apr-util/uri && $(HOST_APACHE2_ENV) $(HOST_APACHE2_PATH) make cd $(HOST_APACHE2_DIR)/srclib/pcre && $(HOST_APACHE2_ENV) $(HOST_APACHE2_PATH) make dftables cd $(HOST_APACHE2_DIR)/server && $(HOST_APACHE2_ENV) $(HOST_APACHE2_PATH) make gen_test_char - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- -host-apache2_install: $(STATEDIR)/host-apache2.install - -$(STATEDIR)/host-apache2.install: $(host-apache2_install_deps_default) - @$(call targetinfo, $@) -# cd $(HOST_APACHE2_DIR) && $(HOST_APACHE2_ENV) $(HOST_APACHE2_PATH) $(MAKE) install - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Tagetinstall -# ---------------------------------------------------------------------------- +$(STATEDIR)/host-apache2.install: + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |