Browse Source

Merge pull request #4151 from hauke/linuxptp

Linuxptp: add mirror hash and fix build
lilik-openwrt-22.03
Hauke Mehrtens 7 years ago
committed by GitHub
parent
commit
56de27e0fe
1 changed files with 8 additions and 9 deletions
  1. +8
    -9
      net/linuxptp/Makefile

+ 8
- 9
net/linuxptp/Makefile View File

@ -9,16 +9,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=linuxptp
PKG_VERSION:=1.8
PKG_RELEASE:=2
PKG_REV:=891d56e4292653c5c19ac8345159a1f1f5b2df26
PKG_RELEASE:=3
PKG_MAINTAINER:=Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=git://git.code.sf.net/p/linuxptp/code
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_PROTO:=git
PKG_MD5SUM:=
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)/v$(PKG_VERSION)
PKG_MD5SUM:=5688cdfe57932273e1dbf35b3b97b9a0
PKG_HASH:=fa8e00f6ec73cefa7bb313dce7f60dfe5eb9e2bde3353594e9ac18edc93e5165
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
@ -41,8 +38,10 @@ define Package/linuxptp/description
computers.
endef
EXTRA_CFLAGS += -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC
MAKE_VARS += \
EXTRA_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
EXTRA_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CFLAGS)"
define Package/linuxptp/install
$(INSTALL_DIR) $(1)/usr/sbin


Loading…
Cancel
Save