diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-07-03 08:12:51 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-07-03 08:12:51 +0000 |
commit | 5800bd037d66c3d2365af181d9163fcbd9b08677 (patch) | |
tree | 81a61468067fa6d9fc8a9de13fad1ee0bc328b65 /package | |
parent | f27f3046ff36df0836a1511e399bb08fea087701 (diff) |
install SAMBA SWAT correctly, add hint for autoconf, courtesy HC Egtvedt
Diffstat (limited to 'package')
-rw-r--r-- | package/samba/samba.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 8fb85deda..bf1380a52 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -28,10 +28,13 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \ samba_cv_USE_SETREUID=yes \ samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes \ + samba_cv_HAVE_IFACE_IFCONF=yes \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ + --prefix=/usr \ + --localstatedir=/var \ --with-lockdir=/var/cache/samba \ --with-piddir=/var/run \ --with-privatedir=/etc/samba \ @@ -96,6 +99,9 @@ $(TARGET_DIR)/$(SAMBA_TARGET_BINARY): $(SAMBA_DIR)/$(SAMBA_BINARY) for file in $(SAMBA_TARGETS_y); do \ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$$file; \ 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 @if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \ $(INSTALL) -m 0755 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \ |