summaryrefslogtreecommitdiffstats
path: root/package/diffutils
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-04-03 11:44:09 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-04-03 11:44:09 +0000
commitf2f4131081962cf1185daa209d424ba72a1c9c36 (patch)
tree6c2bac57ce6b5ffa9c48cb12694a21bdea0b9505 /package/diffutils
parentba3892380be6136ad4b2e773e06ceac9d780fa5d (diff)
downloadbuildroot-novena-f2f4131081962cf1185daa209d424ba72a1c9c36.tar.gz
buildroot-novena-f2f4131081962cf1185daa209d424ba72a1c9c36.zip
diffutils: cleanup makefile
Cleanup configure args, strip executables in TARGET_DIR and honor BR2_ENABLE_LOCALE.
Diffstat (limited to 'package/diffutils')
-rw-r--r--package/diffutils/diffutils.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk
index eba05377f..836f0abac 100644
--- a/package/diffutils/diffutils.mk
+++ b/package/diffutils/diffutils.mk
@@ -83,14 +83,6 @@ $(DIFFUTILS_DIR)/.configured: $(DIFFUTILS_DIR)/.unpacked
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libdir=/lib \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share \
- --localstatedir=/var \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
$(DISABLE_NLS) \
@@ -102,15 +94,16 @@ $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY): $(DIFFUTILS_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR)
$(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY): $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY)
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) install
+ $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) install-strip
ifneq ($(BR2_HAVE_INFOPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/info
endif
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
- rm -rf $(TARGET_DIR)/share/locale
- rm -rf $(TARGET_DIR)/usr/share/doc
+ifneq ($(BR2_ENABLE_LOCALE),y)
+ rm -rf $(TARGET_DIR)/usr/share/locale
+endif
diffutils: uclibc $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY)