packages: Fix pps-tools build
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10730 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
59b09b2a4b
commit
e8a5c72547
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
# Copyright (C) 2008 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -30,14 +30,15 @@ define Package/pps-tools/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_BUILD_DIR)/timepps.h $(1)/usr/include/
|
$(CP) $(PKG_BUILD_DIR)/timepps.h $(1)/usr/include/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -DHAVE_ISC_READER=1 -I ." \
|
CFLAGS="$(TARGET_CFLAGS) -DHAVE_ISC_READER=1 -I$(LINUX_DIR)/include -I ." \
|
||||||
BINDIR="/usr/sbin" MANDIR="/usr/man"
|
BINDIR="/usr/sbin" MANDIR="/usr/man"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pps-tools/install
|
define Package/pps-tools/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user