diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-03 23:55:56 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-04 10:55:18 +0100 |
commit | 59263da3c04ff050fecd1bd7a7f2bbffafa71f45 (patch) | |
tree | 99b1955eaa3b7aff2138c039699ef8cfccaa165d /rules/libgsloop.make | |
parent | 1b2989a9219cd2c3b68987605d7fab656d534787 (diff) | |
download | ptxdist-59263da3c04ff050fecd1bd7a7f2bbffafa71f45.tar.gz ptxdist-59263da3c04ff050fecd1bd7a7f2bbffafa71f45.tar.xz |
[libgsloop] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libgsloop.make')
-rw-r--r-- | rules/libgsloop.make | 70 |
1 files changed, 10 insertions, 60 deletions
diff --git a/rules/libgsloop.make b/rules/libgsloop.make index 290dc4342..131c66f90 100644 --- a/rules/libgsloop.make +++ b/rules/libgsloop.make @@ -28,35 +28,14 @@ LIBGSLOOP_DIR := $(BUILDDIR)/$(LIBGSLOOP) # Get # ---------------------------------------------------------------------------- -libgsloop_get: $(STATEDIR)/libgsloop.get - -$(STATEDIR)/libgsloop.get: - @$(call targetinfo, $@) - @$(call touch, $@) - $(LIBGSLOOP_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, LIBGSLOOP) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -libgsloop_extract: $(STATEDIR)/libgsloop.extract - -$(STATEDIR)/libgsloop.extract: - @$(call targetinfo, $@) - @$(call clean, $(LIBGSLOOP_DIR)) - @$(call extract, LIBGSLOOP) - @$(call patchin, LIBGSLOOP) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -libgsloop_prepare: $(STATEDIR)/libgsloop.prepare - LIBGSLOOP_PATH := PATH=$(CROSS_PATH) LIBGSLOOP_ENV := $(CROSS_ENV) @@ -65,61 +44,32 @@ LIBGSLOOP_ENV := $(CROSS_ENV) # LIBGSLOOP_AUTOCONF := $(CROSS_AUTOCONF_USR) -$(STATEDIR)/libgsloop.prepare: - @$(call targetinfo, $@) - @$(call clean, $(LIBGSLOOP_DIR)/config.cache) - cd $(LIBGSLOOP_DIR) && \ - $(LIBGSLOOP_PATH) $(LIBGSLOOP_ENV) \ - ./configure $(LIBGSLOOP_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -libgsloop_compile: $(STATEDIR)/libgsloop.compile - -$(STATEDIR)/libgsloop.compile: - @$(call targetinfo, $@) - cd $(LIBGSLOOP_DIR) && $(LIBGSLOOP_PATH) $(MAKE) $(PARALLELMFLAGS) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -libgsloop_install: $(STATEDIR)/libgsloop.install - -$(STATEDIR)/libgsloop.install: - @$(call targetinfo, $@) - @$(call install, LIBGSLOOP) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -libgsloop_targetinstall: $(STATEDIR)/libgsloop.targetinstall - $(STATEDIR)/libgsloop.targetinstall: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call install_init, libgsloop) @$(call install_fixup, libgsloop,PACKAGE,libgsloop) @$(call install_fixup, libgsloop,PRIORITY,optional) @$(call install_fixup, libgsloop,VERSION,$(LIBGSLOOP_VERSION)) @$(call install_fixup, libgsloop,SECTION,base) - @$(call install_fixup, libgsloop,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup, libgsloop,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") @$(call install_fixup, libgsloop,DEPENDS,) @$(call install_fixup, libgsloop,DESCRIPTION,missing) - @$(call install_copy, libgsloop, 0, 0, 0644, $(LIBGSLOOP_DIR)/src/.libs/libgsloop.so.4.0.0, /usr/lib/libgsloop.so.4.0.0) - @$(call install_link, libgsloop, libgsloop.so.4.0.0, /usr/lib/libgsloop.so.4) - @$(call install_link, libgsloop, libgsloop.so.4.0.0, /usr/lib/libgsloop.so) + @$(call install_copy, libgsloop, 0, 0, 0644, -, \ + /usr/lib/libgsloop.so.4.0.0) + @$(call install_link, libgsloop, libgsloop.so.4.0.0, \ + /usr/lib/libgsloop.so.4) + @$(call install_link, libgsloop, libgsloop.so.4.0.0, \ + /usr/lib/libgsloop.so) @$(call install_finish, libgsloop) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |