Update SAMBA configuration + cleanup
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 23 Jul 2007 07:56:00 +0000 (07:56 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 23 Jul 2007 07:56:00 +0000 (07:56 -0000)
package/samba/samba.mk

index 8066bc91269e082c43fdaa3b37da6f0bd387e732..fe52ff220d4d6b00baf18a2ff3588c54d8de2f0a 100644 (file)
@@ -19,7 +19,8 @@ samba-source: $(DL_DIR)/$(SAMBA_SOURCE)
 $(SAMBA_DIR)/.unpacked: $(DL_DIR)/$(SAMBA_SOURCE)
        $(SAMBA_CAT) $(DL_DIR)/$(SAMBA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
        toolchain/patch-kernel.sh `dirname $(SAMBA_DIR)` package/samba/ samba\*.patch
-       touch $(SAMBA_DIR)/.unpacked
+       $(CONFIG_UPDATE) $(SAMBA_DIR)
+       touch $@
 
 $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
        (cd $(SAMBA_DIR); rm -rf config.cache; \
@@ -45,7 +46,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
                --disable-cups \
                --disable-static \
        );
-       touch $(SAMBA_DIR)/.configured
+       touch $@
 
 $(SAMBA_DIR)/$(SAMBA_BINARY): $(SAMBA_DIR)/.configured
        $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(SAMBA_DIR)