Ticket #12875: Makefile.patch

File Makefile.patch, 907 bytes (added by jeroen.louwes@…, 5 years ago)

Upgrade keepalived to version 1.2.7 and fix Makefile for kernel 3.7

  • Makefile

     
    88include $(TOPDIR)/rules.mk 
    99 
    1010PKG_NAME:=keepalived 
    11 PKG_VERSION:=1.1.19 
    12 PKG_RELEASE:=2 
     11PKG_VERSION:=1.2.7 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:= http://www.keepalived.org/software 
    16 PKG_MD5SUM:=a35b8d9d462810f7650d292bd7457523 
     16PKG_MD5SUM:=8551a34ee048895dbe5350a031ff29c1 
    1717 
    1818include $(INCLUDE_DIR)/package.mk 
    1919include $(INCLUDE_DIR)/kernel.mk 
     
    4343        --disable-strip \ 
    4444        --disable-lvs \ 
    4545        --disable-lvs-syncd \ 
    46         --with-kernel-dir="$(LINUX_DIR)" 
    4746 
     47        ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.7.0)),1) 
     48                CONFIGURE_ARGS+= \ 
     49 
     50                --with-kernel-dir="$(LINUX_DIR)" 
     51 
     52        endif 
     53 
    4854CONFIGURE_VARS+= \ 
    4955        ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes 
    5056