From 81a91a37ffd4863ac9381b0df436bdb6ddda1b22 Mon Sep 17 00:00:00 2001 From: marek Date: Sun, 31 Jan 2010 02:21:37 +0000 Subject: [PATCH] batman-adv: automatically rebuild components when the config changes Signed-off-by: Linus Luessing git-svn-id: svn://svn.openwrt.org/openwrt/packages@19436 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/batman-advanced/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/net/batman-advanced/Makefile b/net/batman-advanced/Makefile index d1e5c7530..9c778de9b 100644 --- a/net/batman-advanced/Makefile +++ b/net/batman-advanced/Makefile @@ -36,6 +36,15 @@ PKG_TOOL_BUILD_DIR:=$(PKG_BUILD_DIR)/batctl include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/kernel.mk +# have to set this variable after including the Makefiles +ifneq ($(CONFIG_BATMAN_ADV_DEV),) + STAMP_PREPARED:=$(STAMP_PREPARED)_dev +else + STAMP_PREPARED:=$(STAMP_PREPARED)_maint +endif +STAMP_PREPARED:=$(STAMP_PREPARED)$(if $(CONFIG_KMOD_BATMAN_ADV_BATCTL),_batctl) +STAMP_BUILT:=$(STAMP_BUILT)$(if $(CONFIG_KMOD_BATMAN_ADV_DEBUG_LOG),_debug) + define Package/batman-adv/Default URL:=http://www.open-mesh.org/ MAINTAINER:=Marek Lindner -- 2.11.0