summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 10:36:40 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 10:36:40 +0000
commitba7d905b544679f811cfd3919d8f8a2edbd7b395 (patch)
tree56174a3017821aadfe1f10dcba1359f8fc4cb8c1
parent4ab3f3f31fab3980b312fd5b6960f1f88f446b42 (diff)
downloadbuildroot-novena-ba7d905b544679f811cfd3919d8f8a2edbd7b395.tar.gz
buildroot-novena-ba7d905b544679f811cfd3919d8f8a2edbd7b395.zip
- use global DISABLE_LARGEFILE
-rw-r--r--package/argus/argus.mk7
-rw-r--r--package/berkeleydb/berkeleydb.mk6
-rw-r--r--package/gzip/gzip.mk6
-rw-r--r--package/lzma/lzma.mk4
4 files changed, 4 insertions, 19 deletions
diff --git a/package/argus/argus.mk b/package/argus/argus.mk
index 757adc28f..991fc3ecc 100644
--- a/package/argus/argus.mk
+++ b/package/argus/argus.mk
@@ -12,11 +12,6 @@ ARGUS_CAT:=$(ZCAT)
ARGUS_BINARY:=bin/argus
ARGUS_TARGET_BINARY:=usr/sbin/argus
-ARGUS_CONFIG_OPTS:=
-ifneq ($(strip $(BR2_LARGEFILE)),y)
-ARGUS_CONFIG_OPTS += --disable-largefile
-endif
-
ARGUS_TRAP_CHECK=ac_cv_lbl_unaligned_fail=yes
ifeq ($(BR2_i386),y)
ARGUS_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no
@@ -63,7 +58,7 @@ $(ARGUS_DIR)/.configured: $(ARGUS_DIR)/.unpacked
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
- $(ARGUS_CONFIG_OPTS) \
+ $(DISABLE_LARGEFILE) \
);
touch $(ARGUS_DIR)/.configured
diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index d4c19a5fd..c20d2bca3 100644
--- a/package/berkeleydb/berkeleydb.mk
+++ b/package/berkeleydb/berkeleydb.mk
@@ -10,10 +10,6 @@ DB_SOURCE:=db-$(DB_VER).NC.tar.gz
DB_DIR:=$(BUILD_DIR)/db-$(DB_VER).NC
DB_SHARLIB:=libdb-$(DB_SO_VER).so
-ifneq ($(BR2_LARGEFILE),y)
-DB_LARGEFILE="--disable-largefile"
-endif
-
$(DL_DIR)/$(DB_SOURCE):
$(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE)
@@ -48,7 +44,7 @@ $(DB_DIR)/.configured: $(DB_DIR)/.dist
--disable-tcl \
--disable-compat185 \
--with-pic \
- $(DB_LARGEFILE) \
+ $(DISABLE_LARGEFILE) \
);
$(SED) 's/\.lo/.o/g' $(DB_DIR)/build_unix/Makefile
touch $(DB_DIR)/.configured
diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk
index 2de03989d..712dad790 100644
--- a/package/gzip/gzip.mk
+++ b/package/gzip/gzip.mk
@@ -12,10 +12,6 @@ GZIP_CAT:=$(ZCAT)
GZIP_BINARY:=$(GZIP_DIR)/gzip
GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore
-ifneq ($(BR2_LARGEFILE),y)
-GZIP_LARGEFILE="--disable-largefile"
-endif
-
$(DL_DIR)/$(GZIP_SOURCE):
$(WGET) -P $(DL_DIR) $(GZIP_SITE)/$(GZIP_SOURCE)
@@ -44,7 +40,7 @@ $(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked
--mandir=/usr/man \
--infodir=/usr/info \
$(DISABLE_NLS) \
- $(GZIP_LARGEFILE) \
+ $(DISABLE_LARGEFILE) \
);
touch $(GZIP_DIR)/.configured
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index 0c40e8817..0fd343252 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -12,9 +12,7 @@ LZMA_TARGET_DIR:=$(BUILD_DIR)/lzma-$(LZMA_VER)
LZMA_CFLAGS:=$(TARGET_CFLAGS)
ifeq ($(BR2_LARGEFILE),y)
LZMA_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-LZMA_LARGEFILE="--enable-largefile"
else
-LZMA_LARGEFILE="--disable-largefile"
endif
$(DL_DIR)/$(LZMA_SOURCE):
@@ -75,7 +73,7 @@ $(LZMA_TARGET_DIR)/.configured: $(LZMA_TARGET_DIR)/.source
--includedir=$(TARGET_DIR)/include \
--disable-debug \
$(DISABLE_NLS) \
- $(LZMA_LARGEFILE) \
+ $(DISABLE_LARGEFILE) \
);
touch $(LZMA_TARGET_DIR)/.configured;