|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=linuxptp |
|
|
PKG_NAME:=linuxptp |
|
|
PKG_VERSION:=2.0 |
|
|
PKG_VERSION:=2.0 |
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz |
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)/v$(PKG_VERSION) |
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)/v$(PKG_VERSION) |
|
@ -20,6 +20,7 @@ PKG_LICENSE:=GPL-2.0 |
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk |
|
|
|
|
|
|
|
|
define Package/linuxptp |
|
|
define Package/linuxptp |
|
|
SECTION:=net |
|
|
SECTION:=net |
|
@ -39,7 +40,8 @@ endef |
|
|
EXTRA_CFLAGS += -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC |
|
|
EXTRA_CFLAGS += -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC |
|
|
|
|
|
|
|
|
MAKE_VARS += \
|
|
|
MAKE_VARS += \
|
|
|
EXTRA_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CFLAGS)" |
|
|
|
|
|
|
|
|
EXTRA_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CFLAGS)" \
|
|
|
|
|
|
KBUILD_OUTPUT="$(LINUX_DIR)" |
|
|
|
|
|
|
|
|
define Package/linuxptp/install |
|
|
define Package/linuxptp/install |
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|
$(INSTALL_DIR) $(1)/usr/sbin |
|
|