summaryrefslogtreecommitdiffstats
path: root/rules/cross-dummy-strip.make
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-12-25 21:11:59 +0100
committerWolfram Sang <w.sang@pengutronix.de>2009-12-26 21:25:52 +0100
commitb0b990da3d10efe6368004408649bd3b35fd0b47 (patch)
tree7d201441cd073abba878cf953949bf41ecf6e47b /rules/cross-dummy-strip.make
parentbfb2140abf6a0545ee9ca0cda5ea731801f849df (diff)
downloadptxdist-b0b990da3d10efe6368004408649bd3b35fd0b47.tar.gz
ptxdist-b0b990da3d10efe6368004408649bd3b35fd0b47.tar.xz
[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 <w.sang@pengutronix.de>
Diffstat (limited to 'rules/cross-dummy-strip.make')
-rw-r--r--rules/cross-dummy-strip.make33
1 files changed, 33 insertions, 0 deletions
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 <w.sang@pengutronix.de>
+#
+# 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