summaryrefslogtreecommitdiffstats
path: root/toolchain/ccache
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:08:04 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:08:04 +0000
commit387a5491a25a9f5a437876a49d246e75946d1718 (patch)
tree33866f97f0dba96cfc2c1963a17ad8f2e28d9b93 /toolchain/ccache
parent3e59a44021f2741be20f37f2bfe315db05f53780 (diff)
downloadbuildroot-novena-387a5491a25a9f5a437876a49d246e75946d1718.tar.gz
buildroot-novena-387a5491a25a9f5a437876a49d246e75946d1718.zip
ccache: cleanup configure args and respect BR2_HAVE_MANPAGES
Diffstat (limited to 'toolchain/ccache')
-rw-r--r--toolchain/ccache/ccache.mk13
1 files changed, 3 insertions, 10 deletions
diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk
index f51c14855..945f84056 100644
--- a/toolchain/ccache/ccache.mk
+++ b/toolchain/ccache/ccache.mk
@@ -149,15 +149,7 @@ $(CCACHE_DIR2)/.configured: $(CCACHE_DIR2)/.patched
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libexecdir=/usr/lib \
--sysconfdir=/etc \
- --datadir=/usr/share \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
$(DISABLE_NLS) \
)
touch $@
@@ -167,8 +159,9 @@ $(CCACHE_DIR2)/$(CCACHE_BINARY): $(CCACHE_DIR2)/.configured
$(TARGET_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR2)/$(CCACHE_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(CCACHE_DIR2) install
- rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
- $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
+ifneq ($(BR2_HAVE_MANPAGES),y)
+ rm -rf $(TARGET_DIR)/usr/man
+endif
# put a bunch of symlinks into /bin, since that is earlier
# in the default PATH than /usr/bin where gcc lives
(cd $(TARGET_DIR)/bin; \