summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorErwin Rol <erwin@erwinrol.com>2006-08-30 11:12:42 +0000
committerErwin Rol <erwin@erwinrol.com>2006-08-30 11:12:42 +0000
commit28ff206941197901983d4ed105941bc6543a53cc (patch)
treed62c5e3a23e76d9168fb347a47b634927468e4f4 /rules
parenta99c48eb426dc9865c326230a0de9b70b917d897 (diff)
downloadptxdist-28ff206941197901983d4ed105941bc6543a53cc.tar.gz
ptxdist-28ff206941197901983d4ed105941bc6543a53cc.tar.xz
add 855resolution tool
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6014 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules')
-rw-r--r--rules/i855resolution.in6
-rw-r--r--rules/i855resolution.make127
2 files changed, 133 insertions, 0 deletions
diff --git a/rules/i855resolution.in b/rules/i855resolution.in
new file mode 100644
index 000000000..ba848c22d
--- /dev/null
+++ b/rules/i855resolution.in
@@ -0,0 +1,6 @@
+config I855RESOLUTION
+ bool
+ prompt "i855resolution"
+ help
+ FIXME
+
diff --git a/rules/i855resolution.make b/rules/i855resolution.make
new file mode 100644
index 000000000..9ce0682e5
--- /dev/null
+++ b/rules/i855resolution.make
@@ -0,0 +1,127 @@
+# -*-makefile-*-
+# $Id: template 5709 2006-06-09 13:55:00Z mkl $
+#
+# Copyright (C) 2006 by Erwin Rol
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_I855RESOLUTION) += i855resolution
+
+#
+# Paths and names
+#
+I855RESOLUTION_VERSION := 0.4
+I855RESOLUTION := 855resolution-$(I855RESOLUTION_VERSION)
+I855RESOLUTION_SUFFIX := tgz
+I855RESOLUTION_URL := http://perso.orange.fr/apoirier/$(I855RESOLUTION).$(I855RESOLUTION_SUFFIX)
+I855RESOLUTION_SOURCE := $(SRCDIR)/$(I855RESOLUTION).$(I855RESOLUTION_SUFFIX)
+I855RESOLUTION_DIR := $(BUILDDIR)/855resolution
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+i855resolution_get: $(STATEDIR)/i855resolution.get
+
+$(STATEDIR)/i855resolution.get: $(i855resolution_get_deps_default)
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+$(I855RESOLUTION_SOURCE):
+ @$(call targetinfo, $@)
+ @$(call get, I855RESOLUTION)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+i855resolution_extract: $(STATEDIR)/i855resolution.extract
+
+$(STATEDIR)/i855resolution.extract: $(i855resolution_extract_deps_default)
+ @$(call targetinfo, $@)
+ @$(call clean, $(I855RESOLUTION_DIR))
+ @$(call extract, I855RESOLUTION)
+ @$(call patchin, I855RESOLUTION)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+i855resolution_prepare: $(STATEDIR)/i855resolution.prepare
+
+I855RESOLUTION_PATH := PATH=$(CROSS_PATH)
+I855RESOLUTION_ENV := $(CROSS_ENV)
+
+#
+# autoconf
+#
+I855RESOLUTION_AUTOCONF := $(CROSS_AUTOCONF_USR)
+
+$(STATEDIR)/i855resolution.prepare: $(i855resolution_prepare_deps_default)
+ @$(call targetinfo, $@)
+ cd $(I855RESOLUTION_DIR) && $(I855RESOLUTION_PATH) make clean
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+i855resolution_compile: $(STATEDIR)/i855resolution.compile
+
+$(STATEDIR)/i855resolution.compile: $(i855resolution_compile_deps_default)
+ @$(call targetinfo, $@)
+ cd $(I855RESOLUTION_DIR) && $(I855RESOLUTION_ENV) $(I855RESOLUTION_PATH) make
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+i855resolution_install: $(STATEDIR)/i855resolution.install
+
+$(STATEDIR)/i855resolution.install: $(i855resolution_install_deps_default)
+ @$(call targetinfo, $@)
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+i855resolution_targetinstall: $(STATEDIR)/i855resolution.targetinstall
+
+$(STATEDIR)/i855resolution.targetinstall: $(i855resolution_targetinstall_deps_default)
+ @$(call targetinfo, $@)
+
+ @$(call install_init, i855resolution)
+ @$(call install_fixup,i855resolution,PACKAGE,i855resolution)
+ @$(call install_fixup,i855resolution,PRIORITY,optional)
+ @$(call install_fixup,i855resolution,VERSION,$(I855RESOLUTION_VERSION))
+ @$(call install_fixup,i855resolution,SECTION,base)
+ @$(call install_fixup,i855resolution,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup,i855resolution,DEPENDS,)
+ @$(call install_fixup,i855resolution,DESCRIPTION,missing)
+
+ @$(call install_copy, i855resolution, 0, 0, 0755, $(I855RESOLUTION_DIR)/855resolution, /usr/sbin/855resolution)
+
+ @$(call install_finish,i855resolution)
+
+ @$(call touch, $@)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+i855resolution_clean:
+ rm -rf $(STATEDIR)/i855resolution.*
+ rm -rf $(IMAGEDIR)/i855resolution_*
+ rm -rf $(I855RESOLUTION_DIR)
+
+# vim: syntax=make