On Thu, Oct 11, 2018 at 02:19:15PM +0000, Baeuerle, Florian wrote: > Signed-off-by: Florian Bäuerle <florian.baeue...@allegion.com> > --- > rules/host-faketime.in | 10 +++++++++ > rules/host-faketime.make | 47 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 57 insertions(+) > create mode 100644 rules/host-faketime.in > create mode 100644 rules/host-faketime.make > > diff --git a/rules/host-faketime.in b/rules/host-faketime.in > new file mode 100644 > index 000000000..1a2e7ae19 > --- /dev/null > +++ b/rules/host-faketime.in > @@ -0,0 +1,10 @@ > +## SECTION=hosttools_noprompt > +## SECTION=hosttools_platform > + > +config HOST_FAKETIME > + tristate > + default ALLYES > + help > + libfaketime intercepts various system calls that programs use to > + retrieve the current date and time. It then reports modified (faked) > + dates and times to these programs. > diff --git a/rules/host-faketime.make b/rules/host-faketime.make > new file mode 100644 > index 000000000..462854eb9 > --- /dev/null > +++ b/rules/host-faketime.make > @@ -0,0 +1,47 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2018 by Florian Bäuerle <florian.baeue...@allegion.com> > +# > +# 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_FAKETIME) += host-faketime > + > +# > +# Paths and names > +# > +HOST_FAKETIME_VERSION = $(LIBFAKETIME_VERSION) > +HOST_FAKETIME_MD5 = $(LIBFAKETIME_MD5) > +HOST_FAKETIME = $(LIBFAKETIME) > +HOST_FAKETIME_SUFFIX = $(LIBFAKETIME_SUFFIX) > +HOST_FAKETIME_URL = $(LIBFAKETIME_URL) > +HOST_FAKETIME_SOURCE = $(LIBFAKETIME_SOURCE) > +HOST_FAKETIME_LICENSE = $(LIBFAKETIME_LICENSE) > +HOST_FAKETIME_DIR = $(HOST_BUILDDIR)/$(HOST_FAKETIME) > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +HOST_FAKETIME_CONF_TOOL = NO > + > +# > ---------------------------------------------------------------------------- > +# Compile > +# > ---------------------------------------------------------------------------- > + > +HOST_FAKETIME_MAKE_ENV = $(HOST_ENV) > +HOST_FAKETIME_MAKE_OPT = PREFIX=$(PTXCONF_SYSROOT_HOST) DESTDIR=
Why is this needed? I'd prefer to have things relocatable. This works like fakeroot, right? Maybe you can do something like patches/fakeroot-1.21/0100-make-fakeroot-relocatable.patch Michael > + > +# > ---------------------------------------------------------------------------- > +# Install > +# > ---------------------------------------------------------------------------- > + > +HOST_FAKETIME_INSTALL_OPT = PREFIX=$(PTXCONF_SYSROOT_HOST) DESTDIR= > install > + > +# vim: syntax=make > -- > 2.19.0 > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de