From b0b990da3d10efe6368004408649bd3b35fd0b47 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Fri, 25 Dec 2009 21:11:59 +0100 Subject: [sysroot-cross] add dummy-strip Provide a dummy, no-op version of strip as a lot of makefiles (and install -s) execute just 'strip' and this leaks in the host version. This approach should be OK as we do stripping at a later stage anyway and want to keep the debug-info until then. Signed-off-by: Wolfram Sang --- rules/cross-dummy-strip.make | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 rules/cross-dummy-strip.make (limited to 'rules/cross-dummy-strip.make') diff --git a/rules/cross-dummy-strip.make b/rules/cross-dummy-strip.make new file mode 100644 index 000000000..23864c6ce --- /dev/null +++ b/rules/cross-dummy-strip.make @@ -0,0 +1,33 @@ +# -*-makefile-*- +# +# Copyright (C) 2009 by Wolfram Sang +# +# 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 +# +CROSS_PACKAGES-$(PTXCONF_CROSS_DUMMY_STRIP) += cross-dummy-strip + +$(STATEDIR)/cross-dummy-strip.extract: + @$(call targetinfo) + @$(call touch) + +$(STATEDIR)/cross-dummy-strip.prepare: + @$(call targetinfo) + @$(call touch) + +$(STATEDIR)/cross-dummy-strip.compile: + @$(call targetinfo) + @$(call touch) + +$(STATEDIR)/cross-dummy-strip.install: + @$(call targetinfo) + install -D -m 755 $(PTXDIST_TOPDIR)/scripts/dummy-strip.sh $(PTXCONF_SYSROOT_CROSS)/bin/strip + @$(call touch) + +# vim: syntax=make -- cgit v1.2.3