initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+10
View 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
+5
View File
@@ -0,0 +1,5 @@
# 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
sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 LICENSE
+24
View 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))