summaryrefslogtreecommitdiffstats
path: root/rules/host-fakeroot.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2009-12-30 13:29:34 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-04-23 13:52:31 +0200
commit8ecc443cd0ce4f511d86b18b3d46bbe8bcdcd7f0 (patch)
tree3ff569d4b3cbc2612790da749720f95cfb04d45a /rules/host-fakeroot.make
parent34d85bf3ee1c1a23356c0b51470d7996bcb0ac34 (diff)
downloadptxdist-8ecc443cd0ce4f511d86b18b3d46bbe8bcdcd7f0.tar.gz
ptxdist-8ecc443cd0ce4f511d86b18b3d46bbe8bcdcd7f0.tar.xz
[host-fakeroot] fix install when working with packages
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-fakeroot.make')
-rw-r--r--rules/host-fakeroot.make11
1 files changed, 11 insertions, 0 deletions
diff --git a/rules/host-fakeroot.make b/rules/host-fakeroot.make
index 64e6d6b8c..0bc49cc74 100644
--- a/rules/host-fakeroot.make
+++ b/rules/host-fakeroot.make
@@ -39,4 +39,15 @@ $(HOST_FAKEROOT_SOURCE):
HOST_FAKEROOT_CONF_TOOL := autoconf
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-fakeroot.install.post:
+ @$(call targetinfo)
+ @$(call world/install.post, HOST_FAKEROOT)
+ @sed -ie 's,FAKEROOT_SYSROOT,$(PTXCONF_SYSROOT_HOST),' \
+ $(PTXCONF_SYSROOT_HOST)/bin/fakeroot
+ @$(call touch)
+
# vim: syntax=make