diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-06-06 07:46:16 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-06-06 07:46:16 +0000 |
commit | 3591364d8c95244e9ad959ee157ef8c4b8e366a8 (patch) | |
tree | 5570a658ef80f445966d0067550775b23713dc67 | |
parent | 7fec3ff244d1fde7f618da3ad8828bde3a1adceb (diff) | |
download | ptxdist-3591364d8c95244e9ad959ee157ef8c4b8e366a8.tar.gz ptxdist-3591364d8c95244e9ad959ee157ef8c4b8e366a8.tar.xz |
* qtopia.make:
cleanups
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8442 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r-- | rules/qtopia.make | 46 |
1 files changed, 16 insertions, 30 deletions
diff --git a/rules/qtopia.make b/rules/qtopia.make index 3936c86ae..75d029e41 100644 --- a/rules/qtopia.make +++ b/rules/qtopia.make @@ -29,29 +29,21 @@ QTOPIA_DIR := $(BUILDDIR)/$(QTOPIA) # Get # ---------------------------------------------------------------------------- -qtopia_get: $(STATEDIR)/qtopia.get - -$(STATEDIR)/qtopia.get: $(qtopia_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(QTOPIA_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, QTOPIA) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -qtopia_extract: $(STATEDIR)/qtopia.extract - -$(STATEDIR)/qtopia.extract: $(qtopia_extract_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/qtopia.extract: + @$(call targetinfo) @$(call clean, $(QTOPIA_DIR)) @$(call extract, QTOPIA) @$(call patchin, QTOPIA) sed -i -e "s,@COMPILER_PREFIX@,$(COMPILER_PREFIX),g" $(QTOPIA_DIR)/mkspecs/qws/linux-ptxdist-g++/qmake.conf - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare @@ -98,44 +90,38 @@ else QTOPIA_AUTOCONF += -static endif -$(STATEDIR)/qtopia.prepare: $(qtopia_prepare_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/qtopia.prepare: + @$(call targetinfo) @$(call clean, $(QTOPIA_DIR)/config.cache) cd $(QTOPIA_DIR) && \ echo "yes" | $(QTOPIA_PATH) $(QTOPIA_ENV) \ ./configure $(QTOPIA_AUTOCONF) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- -qtopia_compile: $(STATEDIR)/qtopia.compile - -$(STATEDIR)/qtopia.compile: $(qtopia_compile_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/qtopia.compile: + @$(call targetinfo) cd $(QTOPIA_DIR) && $(QTOPIA_PATH) make sub-src-all-ordered $(QTOPIA_MAKEVARS) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- -qtopia_install: $(STATEDIR)/qtopia.install - -$(STATEDIR)/qtopia.install: $(qtopia_install_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/qtopia.install: + @$(call targetinfo) cd $(QTOPIA_DIR) && $(QTOPIA_PATH) make sub-src-install_subtargets-ordered $(QTOPIA_MAKEVARS) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -qtopia_targetinstall: $(STATEDIR)/qtopia.targetinstall - -$(STATEDIR)/qtopia.targetinstall: $(qtopia_targetinstall_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/qtopia.targetinstall: + @$(call targetinfo) @$(call install_init, qtopia) @$(call install_fixup,qtopia,PACKAGE,qtopia) @@ -179,7 +165,7 @@ endif @$(call install_finish,qtopia) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |