Author: wigyori Date: 2014-09-21 14:18:42 +0200 (Sun, 21 Sep 2014) New Revision: 42626
Removed: packages/utils/pps-tools/patches/ Modified: packages/utils/pps-tools/Makefile Log: packages: update pps-tools, allow building on more recent kernels Signed-off-by: Zoltan HERPAI <[email protected]> Modified: packages/utils/pps-tools/Makefile =================================================================== --- packages/utils/pps-tools/Makefile 2014-09-20 11:12:19 UTC (rev 42625) +++ packages/utils/pps-tools/Makefile 2014-09-21 12:18:42 UTC (rev 42626) @@ -1,50 +1,49 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # - include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=pps-tools -PKG_VERSION:=2.6.23 -PKG_RELEASE:=1 +PKG_VERSION:=2014-08-01 +PKG_RELEASE=$(PKG_SOURCE_VERSION) +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=git://github.com/ago/pps-tools +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=0deb9c7e135e9380a6d09e9d2e938a146bb698c8 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +PKG_MAINTAINER := Zoltan HERPAI <[email protected]> + include $(INCLUDE_DIR)/package.mk define Package/pps-tools - SUBMENU:=Time Synchronization - SECTION:=net - CATEGORY:=Network - DEPENDS:=@LINUX_2_6_23 - TITLE:=PPS (Pulse Per Second) Userland tools - URL:=http://wiki.enneenne.com/index.php/LinuxPPS_support + SECTION:=utils + CATEGORY:=Utilities + TITLE:=PPS-tools + DEPENDS:=@LINUX_3_10||@LINUX_3_13||@LINUX_3_14 endef - define Package/pps-tools/description Userland tools for GPS and DCF-77 Clock syncronization. PPS support in Kernel must be enabled. endef +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/timepps.h $(1)/usr/include/ endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -DHAVE_ISC_READER=1 -I$(LINUX_DIR)/include -I ." \ - BINDIR="/usr/sbin" MANDIR="/usr/man" -endef - define Package/pps-tools/install $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ppsctl $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ppstest $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/ppsctl $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ppswatch $(1)/usr/sbin/ endef $(eval $(call BuildPackage,pps-tools)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
