diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-04-01 14:15:19 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-04-01 14:15:19 +0000 |
commit | d290edadb96cbef93991338862a34ae246cb2e21 (patch) | |
tree | 1e330aad6a4594a2afecc1596941635db80418d2 /package/fakeroot | |
parent | 512d08afff608fc7d826eb5951d71e3e3ba6bd4b (diff) | |
download | buildroot-novena-d290edadb96cbef93991338862a34ae246cb2e21.tar.gz buildroot-novena-d290edadb96cbef93991338862a34ae246cb2e21.zip |
fakeroot: install into HOST_DIR
Diffstat (limited to 'package/fakeroot')
-rw-r--r-- | package/fakeroot/fakeroot.mk | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index 2ebccc939..0db6628c6 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -36,8 +36,7 @@ $(FAKEROOT_DIR1)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked (cd $(FAKEROOT_DIR1); rm -rf config.cache; \ CC="$(HOSTCC)" \ $(FAKEROOT_SOURCE_DIR)/configure \ - --prefix=/usr \ - $(DISABLE_NLS) \ + --prefix=$(HOST_DIR)/usr \ ) touch $@ @@ -45,16 +44,11 @@ $(FAKEROOT_DIR1)/faked: $(FAKEROOT_DIR1)/.configured $(MAKE) -C $(FAKEROOT_DIR1) touch -c $@ -$(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 - $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \ - $(STAGING_DIR)/usr/lib/libfakeroot.la +$(HOST_DIR)/usr/bin/fakeroot: $(FAKEROOT_DIR1)/faked + $(MAKE) -C $(FAKEROOT_DIR1) install touch -c $@ -host-fakeroot: uclibc $(STAGING_DIR)/usr/bin/fakeroot +host-fakeroot: uclibc $(HOST_DIR)/usr/bin/fakeroot host-fakeroot-clean: -$(MAKE) -C $(FAKEROOT_DIR1) clean |