diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2008-06-06 14:44:03 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2008-06-06 14:44:03 +0000 |
commit | 6b30ddca7ee7f7921314473212846c22c1eba663 (patch) | |
tree | 702285e45b92171fdf7def0651d4a618f5789c82 /rules/host-usplash.make | |
parent | 6f196b3399977a0a62216027f5fa24cb30267fe8 (diff) | |
download | ptxdist-6b30ddca7ee7f7921314473212846c22c1eba663.tar.gz ptxdist-6b30ddca7ee7f7921314473212846c22c1eba663.tar.xz |
* host-* stuff for usplash
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8463 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-usplash.make')
-rw-r--r-- | rules/host-usplash.make | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/rules/host-usplash.make b/rules/host-usplash.make new file mode 100644 index 000000000..8b13c2a20 --- /dev/null +++ b/rules/host-usplash.make @@ -0,0 +1,90 @@ +# -*-makefile-*- +# $Id$ +# +# Copyright (C) 2008 by +# +# 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 +# +HOST_PACKAGES-$(PTXCONF_HOST_USPLASH) += host-usplash + +# +# Paths and names +# +HOST_USPLASH_DIR = $(HOST_BUILDDIR)/$(USPLASH) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-usplash.get: $(STATEDIR)/usplash.get + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-usplash.extract: + @$(call targetinfo) + @$(call clean, $(HOST_USPLASH_DIR)) + @$(call extract, USPLASH, $(HOST_BUILDDIR)) + mv $(HOST_BUILDDIR)/usplash $(HOST_USPLASH_DIR) + @$(call patchin, USPLASH, $(HOST_USPLASH_DIR)) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_USPLASH_PATH := PATH=$(HOST_PATH) +HOST_USPLASH_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_USPLASH_AUTOCONF := $(HOST_AUTOCONF) \ + --disable-svga-backend \ + --enable-convert-tools + +$(STATEDIR)/host-usplash.prepare: + @$(call targetinfo) + @$(call clean, $(HOST_USPLASH_DIR)/config.cache) + cd $(HOST_USPLASH_DIR) && \ + $(HOST_USPLASH_PATH) $(HOST_USPLASH_ENV) \ + sh ./configure $(HOST_USPLASH_AUTOCONF) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-usplash.compile: + @$(call targetinfo) + cd $(HOST_USPLASH_DIR)/bogl && $(HOST_USPLASH_PATH) $(MAKE) $(PARALLELMFLAGS) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-usplash.install: + @$(call targetinfo) + @$(call install, HOST_USPLASH,,h) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +host-usplash_clean: + rm -rf $(STATEDIR)/host-usplash.* + rm -rf $(HOST_USPLASH_DIR) + +# vim: syntax=make |