samba: use proper BR variable to disable largefile while configuring
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Tue, 13 Jan 2009 08:02:52 +0000 (08:02 -0000)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Tue, 13 Jan 2009 08:02:52 +0000 (08:02 -0000)
package/samba/samba.mk

index 234bf2bebf0d9f0874627e5021c69aa4c9dbeb00..d277d235451a042139a6f42937671da9227bc73d 100644 (file)
@@ -11,10 +11,6 @@ SAMBA_CAT:=$(ZCAT)
 SAMBA_BINARY:=bin/smbd
 SAMBA_TARGET_BINARY:=usr/sbin/smbd
 
-ifneq ($(BR2_LARGEFILE),y)
-SAMBA_DISABLE_LARGEFILE:=--disable-largefile
-endif
-
 $(DL_DIR)/$(SAMBA_SOURCE):
        $(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
 
@@ -59,7 +55,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
                --disable-shared-libs \
                --disable-static \
                --disable-cups \
-               $(SAMBA_DISABLE_LARGEFILE) \
+               $(DISABLE_LARGEFILE) \
        )
        touch $@