[email protected] wrote: > From: Carsten Schlote <[email protected]> > > This local build is required for other local build tools. > See follow up patches.
the description could be a bit more specific here, please > > Signed-off-by: Carsten Schlote <[email protected]> > --- > rules/host-udev.in | 11 ++++++ > rules/host-udev.make | 95 > ++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 106 insertions(+), 0 deletions(-) > create mode 100644 rules/host-udev.in > create mode 100644 rules/host-udev.make > > diff --git a/rules/host-udev.in b/rules/host-udev.in > new file mode 100644 > index 0000000..62a3a07 > --- /dev/null > +++ b/rules/host-udev.in > @@ -0,0 +1,11 @@ > +## SECTION=hosttools_noprompt > + > +config HOST_UDEV > + tristate > + select HOST_LIBUSB_COMPAT > + select HOST_USBUTILS > + select HOST_PCIUTILS > + select HOST_ACL > + prompt "udev" please remove the prompt for host tools > + help > + FIXME > diff --git a/rules/host-udev.make b/rules/host-udev.make > new file mode 100644 > index 0000000..26ccaa8 > --- /dev/null > +++ b/rules/host-udev.make > @@ -0,0 +1,95 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2009 by RUmpelstilzchen who's that? > +# > +# 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_UDEV) += host-udev > + > +# > +# Paths and names > +# > +HOST_UDEV_DIR = $(HOST_BUILDDIR)/$(UDEV) > + > +# > ---------------------------------------------------------------------------- > +# Get > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/host-udev.get: $(STATEDIR)/udev.get > + @$(call targetinfo) > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Extract > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/host-udev.extract: > + @$(call targetinfo) > + @$(call clean, $(HOST_UDEV_DIR)) > + @$(call extract, UDEV, $(HOST_BUILDDIR)) > + @$(call patchin, UDEV, $(HOST_UDEV_DIR)) > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +HOST_UDEV_PATH := PATH=$(HOST_PATH) > +HOST_UDEV_ENV := $(HOST_ENV) > + > +# > +# autoconf > +# > +HOST_UDEV_AUTOCONF := $(HOST_AUTOCONF) \ > + --libexecdir=$(SYSROOT)/lib/udev \ > + \ > + --disable-dependency-tracking \ > + --enable-shared \ > + --with-pci-ids-path=/usr/share/pci.ids \ > + --disable-extras \ > + --disable-introspection > + > +#$(STATEDIR)/host-udev.prepare: > +# @$(call targetinfo) > +# @$(call clean, $(HOST_UDEV_DIR)/config.cache) > +# cd $(HOST_UDEV_DIR) && \ > +# $(HOST_UDEV_PATH) $(HOST_UDEV_ENV) \ > +# ./configure $(HOST_UDEV_AUTOCONF) > +# @$(call touch) pleae remove that rule > + > +# > ---------------------------------------------------------------------------- > +# Compile > +# > ---------------------------------------------------------------------------- > + > +#$(STATEDIR)/host-udev.compile: > +# @$(call targetinfo) > +# cd $(HOST_UDEV_DIR) && $(HOST_UDEV_PATH) $(MAKE) $(PARALLELMFLAGS) > +# @$(call touch) pleae remove that rule > + > +# > ---------------------------------------------------------------------------- > +# Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/host-udev.install: > + @$(call targetinfo) > + #...@$(call install, HOST_UDEV) > + cd $(HOST_UDEV_DIR) && $(HOST_UDEV_PATH) $(MAKE) install > $(PARALLELMFLAGS) > + #cd $(HOST_UDEV_DIR) && $(HOST_UDEV_PATH) $(MAKE) > install-libLTLIBRARIES $(PARALLELMFLAGS) > + @$(call touch) pleae remove that rule > + > +# > ---------------------------------------------------------------------------- > +# Clean > +# > ---------------------------------------------------------------------------- > + > +host-udev_clean: > + rm -rf $(STATEDIR)/host-udev.* > + rm -rf $(HOST_UDEV_DIR) > + > +# vim: syntax=make cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
