Changeset 19089


Ignore:
Timestamp:
2010-01-10T03:32:03+01:00 (8 years ago)
Author:
marek
Message:

batman-adv: upgrade to 0.2.x maintenance branch

  • get batman-adv & batctl sources from their respective maintenance branch
  • offer option to enable verbose debug logging
Location:
packages/net/batman-advanced
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/batman-advanced/Makefile

    r18344 r19089  
    1010 
    1111PKG_NAME:=batman-adv 
    12 PKG_REV:=1478 
     12PKG_REV:=1545 
    1313PKG_VERSION:=r$(PKG_REV) 
    1414PKG_RELEASE:=1 
    1515 
     16PKG_KMOD_VERSION=caf7148e887b57abf37ef89a1b5aedf314893c94 
     17PKG_KMOD_FNAME=batman-adv-maint-$(PKG_KMOD_VERSION) 
     18PKG_KMOD_BUILD_DIR:=$(BUILD_DIR)/batman-adv 
     19 
    1620PKG_SOURCE_PROTO:=svn 
    1721PKG_SOURCE_VERSION:=$(PKG_REV) 
    18 PKG_SOURCE_SUBDIR:=batman-adv-$(PKG_VERSION) 
    19 PKG_SOURCE_URL:=http://downloads.open-mesh.net/svn/batman/trunk/ 
     22PKG_SOURCE_SUBDIR:=batctl-0.2.x-$(PKG_VERSION) 
     23PKG_SOURCE_URL:=http://downloads.open-mesh.net/svn/batman/branches/batctl-0.2.x/ 
    2024PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz 
    2125PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) 
    2226 
    23 PKG_KMOD_BUILD_DIR:=$(PKG_BUILD_DIR)/batman-adv-kernelland 
    24  
    2527PKG_TOOL_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-batctl-install 
    26 PKG_TOOL_BUILD_DIR:=$(PKG_BUILD_DIR)/batctl 
     28PKG_TOOL_BUILD_DIR:=$(PKG_BUILD_DIR) 
    2729 
    2830include $(INCLUDE_DIR)/package.mk 
     
    4345endef 
    4446 
     47define KernelPackage/batman-adv-kernelland/config 
     48        source "$(SOURCE)/Config.in" 
     49endef 
    4550 
    4651define KernelPackage/batman-adv-kernelland/description 
     
    4853endef 
    4954 
     55define Download/batman-adv-maint 
     56  FILE:=$(PKG_KMOD_FNAME) 
     57  URL:=http://git.open-mesh.org/snapshot 
     58endef 
     59$(eval $(call Download,batman-adv-maint)) 
     60 
    5061MAKE_BATADV_KERNELLAND_ARGS += \ 
    5162        CROSS_COMPILE="$(TARGET_CROSS)" \ 
    5263        ARCH="$(LINUX_KARCH)" \ 
    5364        PATH="$(TARGET_PATH)" \ 
     65        $(if $(CONFIG_KMOD_BATMAN_ADV_DEBUG_LOG),EXTRA_FLAGS="-DCONFIG_BATMAN_ADV_DEBUG") \ 
    5466        SUBDIRS="$(PKG_KMOD_BUILD_DIR)" \ 
    5567        LINUX_VERSION="$(LINUX_VERSION)" \ 
     
    8092 
    8193define Build/Compile 
     94        tar xzf "$(DL_DIR)/$(PKG_KMOD_FNAME)" -C "$(BUILD_DIR)" 
    8295        cp $(PKG_KMOD_BUILD_DIR)/Makefile.kbuild $(PKG_KMOD_BUILD_DIR)/Makefile 
    8396        $(BUILD_KMOD_ADV) 
    8497        $(BUILD_BATCTL) 
     98endef 
     99 
     100define Build/Clean 
     101        rm -rf $(PKG_KMOD_BUILD_DIR) 
    85102endef 
    86103 
Note: See TracChangeset for help on using the changeset viewer.