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
+9
View File
@@ -0,0 +1,9 @@
config BR2_PACKAGE_MBPFAN
bool "mbpfan"
depends on BR2_USE_MMU
help
Mbpfan is a daemon for MacBook laptops which monitors the
CPU temperature with the coretemp module, and sets the fan
speeds with the applesmc module.
https://github.com/linux-on-mac/mbpfan
+3
View File
@@ -0,0 +1,3 @@
# Locally computed:
sha256 52a3a79d99f775fe90917a0958e527ea14ff5b83d010164bd91f7cc3ce046b6a mbpfan-2.2.1.tar.gz
sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 COPYING
+29
View File
@@ -0,0 +1,29 @@
################################################################################
#
# mbpfan
#
################################################################################
MBPFAN_VERSION = 2.2.1
MBPFAN_SITE = $(call github,linux-on-mac,mbpfan,v$(MBPFAN_VERSION))
MBPFAN_LICENSE = GPL-3.0+
MBPFAN_LICENSE_FILES = COPYING
define MBPFAN_BUILD_CMDS
$(TARGET_MAKE_ENV) CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
$(MAKE) CC="$(TARGET_CC)" -C $(@D)
endef
define MBPFAN_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0644 $(@D)/mbpfan.conf \
$(TARGET_DIR)/etc/mbpfan.conf
$(INSTALL) -m 0755 $(@D)/bin/mbpfan $(TARGET_DIR)/usr/sbin/mbpfan
endef
define MBPFAN_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 $(@D)/mbpfan.service \
$(TARGET_DIR)/usr/lib/systemd/system/mbpfan.service
endef
$(eval $(generic-package))