1 include $(TOPDIR
)/rules.mk
7 PKG_RELEASE
=$(PKG_SOURCE_VERSION
)
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
10 PKG_SOURCE_URL
:=https
://github.com
/wkz
/phytool
/releases
/download
/v
$(PKG_VERSION
)
11 PKG_HASH
:=9901a14e8c6af02b7333c60b21ff81f50620e8326d54827185e5617ff9b11d21
14 PKG_LICENSE_FILES
:=LICENSE
16 PKG_MAINTAINER
:=Christian Lamparter
<chunkeey@gmail.com
>
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/phytool
23 TITLE
:=phytool Linux MDIO register access
24 URL
:=https
://github.com
/wkz
/phytool.git
27 define Package
/phytool
/description
28 Linux MDIO register access
31 define Build
/Configure
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 CFLAGS
="$(TARGET_CFLAGS) -Wall" \
38 LDFLAGS
="$(TARGET_LDFLAGS)"
41 define Package
/phytool
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/phytool
$(1)/usr
/bin
/
46 $(eval
$(call BuildPackage
,phytool
))