summaryrefslogtreecommitdiffstats
path: root/rules/hpanel.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-11 17:29:24 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-12 08:49:28 +0100
commit165f48dcf4b9727f6543ba3b3bd28f04a7498bb4 (patch)
treeba097cdb4573f2267cdabf4d3e883e6d4e8a011a /rules/hpanel.make
parent239fae89b06dab517b20639a35f93bb3e513c769 (diff)
downloadptxdist-165f48dcf4b9727f6543ba3b3bd28f04a7498bb4.tar.gz
ptxdist-165f48dcf4b9727f6543ba3b3bd28f04a7498bb4.tar.xz
[hpannel] cleanup
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/hpanel.make')
-rw-r--r--rules/hpanel.make27
1 files changed, 4 insertions, 23 deletions
diff --git a/rules/hpanel.make b/rules/hpanel.make
index 7c8a17eee..0958a380e 100644
--- a/rules/hpanel.make
+++ b/rules/hpanel.make
@@ -33,33 +33,14 @@ $(HPANEL_SOURCE):
@$(call get, HPANEL)
# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/hpanel.extract:
- @$(call targetinfo)
- @$(call extract, HPANEL)
- @$(call patchin, HPANEL)
- rm -f $(HPANEL_DIR)/hpanel
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
HPANEL_PATH := PATH=$(CROSS_PATH)
HPANEL_MAKE_ENV := $(CROSS_ENV)
-HPANEL_MAKEVARS := \
- CC="$(CROSS_CC)" \
- LDFLAGS='`$(CROSS_ENV) eval $$PKG_CONFIG --libs xft` `$(CROSS_ENV) eval $$PKG_CONFIG --libs xpm` $(CROSS_LDFLAGS)'
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/hpanel.install:
- @$(call targetinfo)
- @$(call touch)
+# the archive contains the target binary. Remove it with the 'clean' target.
+HPANEL_MAKE_OPT := clean hpanel
+HPANEL_MAKE_PAR := NO
# ----------------------------------------------------------------------------
# Target-Install
@@ -77,7 +58,7 @@ $(STATEDIR)/hpanel.targetinstall:
@$(call install_fixup,hpanel,DEPENDS,)
@$(call install_fixup,hpanel,DESCRIPTION,missing)
- @$(call install_copy, hpanel, 0, 0, 0755, $(HPANEL_DIR)/hpanel, /usr/bin/hpanel,y)
+ @$(call install_copy, hpanel, 0, 0, 0755, -, /usr/bin/hpanel)
@$(call install_finish,hpanel)