batman-adv: automatically rebuild components when the config changes

Signed-off-by: Linus Luessing <linus.luessing@web.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19436 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
marek 2010-01-31 02:21:37 +00:00
parent 2d5f3a81e4
commit 81a91a37ff

View File

@ -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 <lindner_marek@yahoo.de>