summaryrefslogtreecommitdiffstats
path: root/package/fakeroot/fakeroot.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-06-24 07:26:33 +0000
committerEric Andersen <andersen@codepoet.org>2005-06-24 07:26:33 +0000
commiteb0ee4509d3112d80cbb210b44fb682ba7033385 (patch)
tree54e5aafc886938962479f78fc7a43c5376777df2 /package/fakeroot/fakeroot.mk
parentafcdf8a01a2d54edb7a217f8c7c1e74e1fb8758b (diff)
downloadbuildroot-novena-eb0ee4509d3112d80cbb210b44fb682ba7033385.tar.gz
buildroot-novena-eb0ee4509d3112d80cbb210b44fb682ba7033385.zip
Finish implementing fakeroot handling so mksquashfs properly
inherits device table settings and device nodes, exactly as per mkfs* applications that support device tables natively.
Diffstat (limited to 'package/fakeroot/fakeroot.mk')
-rw-r--r--package/fakeroot/fakeroot.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk
index 3ab83dffa..07ed20657 100644
--- a/package/fakeroot/fakeroot.mk
+++ b/package/fakeroot/fakeroot.mk
@@ -40,6 +40,9 @@ $(FAKEROOT_DIR1)/faked: $(FAKEROOT_DIR1)/.configured
$(STAGING_DIR)/usr/bin/fakeroot: $(FAKEROOT_DIR1)/faked
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(FAKEROOT_DIR1) install
+ $(SED) 's,^PREFIX=.*,PREFIX=$(STAGING_DIR)/usr,g' $(STAGING_DIR)/usr/bin/fakeroot
+ $(SED) 's,^BINDIR=.*,BINDIR=$(STAGING_DIR)/usr/bin,g' $(STAGING_DIR)/usr/bin/fakeroot
+ $(SED) 's,^PATHS=.*,PATHS=$(FAKEROOT_DIR1)/.libs:/lib:/usr/lib,g' $(STAGING_DIR)/usr/bin/fakeroot
host-fakeroot: uclibc $(STAGING_DIR)/usr/bin/fakeroot