mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
ccache: cleanup configure args and respect BR2_HAVE_MANPAGES
This commit is contained in:
parent
3e59a44021
commit
387a5491a2
@ -149,15 +149,7 @@ $(CCACHE_DIR2)/.configured: $(CCACHE_DIR2)/.patched
|
|||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
|
||||||
--bindir=/usr/bin \
|
|
||||||
--sbindir=/usr/sbin \
|
|
||||||
--libexecdir=/usr/lib \
|
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--datadir=/usr/share \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--mandir=/usr/man \
|
|
||||||
--infodir=/usr/info \
|
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
)
|
)
|
||||||
touch $@
|
touch $@
|
||||||
@ -167,8 +159,9 @@ $(CCACHE_DIR2)/$(CCACHE_BINARY): $(CCACHE_DIR2)/.configured
|
|||||||
|
|
||||||
$(TARGET_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR2)/$(CCACHE_BINARY)
|
$(TARGET_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR2)/$(CCACHE_BINARY)
|
||||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(CCACHE_DIR2) install
|
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(CCACHE_DIR2) install
|
||||||
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
|
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||||
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
|
rm -rf $(TARGET_DIR)/usr/man
|
||||||
|
endif
|
||||||
# put a bunch of symlinks into /bin, since that is earlier
|
# put a bunch of symlinks into /bin, since that is earlier
|
||||||
# in the default PATH than /usr/bin where gcc lives
|
# in the default PATH than /usr/bin where gcc lives
|
||||||
(cd $(TARGET_DIR)/bin; \
|
(cd $(TARGET_DIR)/bin; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user