mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
install SAMBA SWAT correctly, add hint for autoconf, courtesy HC Egtvedt
This commit is contained in:
@@ -28,10 +28,13 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
|
|||||||
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
|
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
|
||||||
samba_cv_USE_SETREUID=yes \
|
samba_cv_USE_SETREUID=yes \
|
||||||
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes \
|
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes \
|
||||||
|
samba_cv_HAVE_IFACE_IFCONF=yes \
|
||||||
./configure \
|
./configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
|
--prefix=/usr \
|
||||||
|
--localstatedir=/var \
|
||||||
--with-lockdir=/var/cache/samba \
|
--with-lockdir=/var/cache/samba \
|
||||||
--with-piddir=/var/run \
|
--with-piddir=/var/run \
|
||||||
--with-privatedir=/etc/samba \
|
--with-privatedir=/etc/samba \
|
||||||
@@ -96,6 +99,9 @@ $(TARGET_DIR)/$(SAMBA_TARGET_BINARY): $(SAMBA_DIR)/$(SAMBA_BINARY)
|
|||||||
for file in $(SAMBA_TARGETS_y); do \
|
for file in $(SAMBA_TARGETS_y); do \
|
||||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$$file; \
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$$file; \
|
||||||
done
|
done
|
||||||
|
ifeq ($(strip $(BR2_PACKAGE_SAMBA_SWAT)),y)
|
||||||
|
cp -dpfr $(SAMBA_DIR)/../swat $(TARGET_DIR)/usr/
|
||||||
|
endif
|
||||||
$(INSTALL) -m 0755 package/samba/S91smb $(TARGET_DIR)/etc/init.d
|
$(INSTALL) -m 0755 package/samba/S91smb $(TARGET_DIR)/etc/init.d
|
||||||
@if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \
|
@if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \
|
||||||
$(INSTALL) -m 0755 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \
|
$(INSTALL) -m 0755 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \
|
||||||
|
|||||||
Reference in New Issue
Block a user