[packages] fix batman-advanced compilation as package, thanks russell
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 13 Feb 2009 18:22:09 +0000 (18:22 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 13 Feb 2009 18:22:09 +0000 (18:22 +0000)
SVN-Revision: 14503

net/batman-advanced/Makefile

index f6a7888..e404d8a 100644 (file)
@@ -106,15 +106,15 @@ MAKE_TOOL_ARGS += \
 define Build/Configure
 endef
 
-ifeq ($(CONFIG_PACKAGE_batmand-adv),y)
+ifneq ($(CONFIG_PACKAGE_batmand-adv),n)
        BUILD_ADV = $(MAKE) -C $(PKG_BUILD_DIR)/batman-adv-userspace $(MAKE_ARGS)
 endif
 
-ifeq ($(CONFIG_PACKAGE_kmod-batman-advanced),y)
+ifneq ($(CONFIG_PACKAGE_kmod-batman-advanced),n)
         BUILD_KMOD_ADV = $(MAKE) -C "$(LINUX_DIR)" $(MAKE_KMOD_ARGS)
 endif
 
-ifeq ($(CONFIG_PACKAGE_battool),y)
+ifneq ($(CONFIG_PACKAGE_battool),n)
         BUILD_BATTOOL = $(MAKE) -C $(PKG_TOOL_BUILD_DIR) $(MAKE_TOOL_ARGS)
 endif