mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 07:06:36 +00:00
samba: properly disable largefile if not selected in Buildroot
This commit is contained in:
parent
147232da39
commit
b9a79cd8f0
@ -11,6 +11,10 @@ SAMBA_CAT:=$(ZCAT)
|
|||||||
SAMBA_BINARY:=bin/smbd
|
SAMBA_BINARY:=bin/smbd
|
||||||
SAMBA_TARGET_BINARY:=usr/sbin/smbd
|
SAMBA_TARGET_BINARY:=usr/sbin/smbd
|
||||||
|
|
||||||
|
ifneq ($(BR2_LARGEFILE),y)
|
||||||
|
SAMBA_DISABLE_LARGEFILE:=--disable-largefile
|
||||||
|
endif
|
||||||
|
|
||||||
$(DL_DIR)/$(SAMBA_SOURCE):
|
$(DL_DIR)/$(SAMBA_SOURCE):
|
||||||
$(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
|
$(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
|
||||||
|
|
||||||
@ -55,7 +59,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
|
|||||||
--disable-shared-libs \
|
--disable-shared-libs \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-cups \
|
--disable-cups \
|
||||||
$(BR2_LARGEFILE) \
|
$(SAMBA_DISABLE_LARGEFILE) \
|
||||||
)
|
)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user