Bump buidlroot version to 2018.02.6
This commit is contained in:
10
bsp/buildroot/package/phytool/Config.in
Normal file
10
bsp/buildroot/package/phytool/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_PHYTOOL
|
||||
bool "phytool"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 # linux/mdio.h
|
||||
help
|
||||
Linux MDIO register access utility.
|
||||
|
||||
https://github.com/wkz/phytool
|
||||
|
||||
comment "phytool needs a toolchain w/ headers >= 3.7"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
||||
4
bsp/buildroot/package/phytool/phytool.hash
Normal file
4
bsp/buildroot/package/phytool/phytool.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# md5 from https://github.com/wkz/phytool/releases/download/v2/phytool-2.tar.xz.md5
|
||||
# sha256 locally computed:
|
||||
md5 972982f8e5f7237cbccfc6d275da7348 phytool-2.tar.xz
|
||||
sha256 9901a14e8c6af02b7333c60b21ff81f50620e8326d54827185e5617ff9b11d21 phytool-2.tar.xz
|
||||
24
bsp/buildroot/package/phytool/phytool.mk
Normal file
24
bsp/buildroot/package/phytool/phytool.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# phytool
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHYTOOL_VERSION = 2
|
||||
PHYTOOL_SOURCE = phytool-$(PHYTOOL_VERSION).tar.xz
|
||||
PHYTOOL_SITE = https://github.com/wkz/phytool/releases/download/v$(PHYTOOL_VERSION)
|
||||
PHYTOOL_LICENSE = GPL-2.0+
|
||||
PHYTOOL_LICENSE_FILES = LICENSE
|
||||
|
||||
define PHYTOOL_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
LDLIBS="$(TARGET_LDFLAGS)"
|
||||
endef
|
||||
|
||||
define PHYTOOL_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
DESTDIR="$(TARGET_DIR)" \
|
||||
PREFIX="usr" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user