initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_CPUBURN_ARM_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_cortex_a7
|
||||
default y if BR2_cortex_a8
|
||||
default y if BR2_cortex_a9
|
||||
default y if BR2_cortex_a53
|
||||
|
||||
config BR2_PACKAGE_CPUBURN_ARM
|
||||
bool "cpuburn-arm"
|
||||
depends on BR2_PACKAGE_CPUBURN_ARM_ARCH_SUPPORTS
|
||||
help
|
||||
Make ARM cores generate as much heat as possible. Supports
|
||||
Cortex A7/A8/A9/A53.
|
||||
|
||||
https://github.com/ssvb/cpuburn-arm
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 354381ec8c352e6c84875ac034004df44b0ed0ac097c400b8d2e47652815c3a2 cpuburn-arm-ad7e646700d14b81413297bda02fb7fe96613c3f.tar.gz
|
||||
sha256 47f10095a04d16c8d8d52598371fa01b6a6e87134083b9ec3c43d83ff8576f55 cpuburn-a7.S
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# cpuburn-arm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CPUBURN_ARM_VERSION = ad7e646700d14b81413297bda02fb7fe96613c3f
|
||||
CPUBURN_ARM_SITE = $(call github,ssvb,cpuburn-arm,$(CPUBURN_ARM_VERSION))
|
||||
CPUBURN_ARM_LICENSE = MIT
|
||||
CPUBURN_ARM_LICENSE_FILES = cpuburn-a7.S
|
||||
|
||||
ifeq ($(BR2_cortex_a7),y)
|
||||
CPUBURN_ARM_SRC = cpuburn-a7.S
|
||||
else ifeq ($(BR2_cortex_a8),y)
|
||||
CPUBURN_ARM_SRC = cpuburn-a8.S
|
||||
else ifeq ($(BR2_cortex_a9),y)
|
||||
CPUBURN_ARM_SRC = cpuburn-a9.S
|
||||
else ifeq ($(BR2_cortex_a53),y)
|
||||
CPUBURN_ARM_SRC = cpuburn-a53.S
|
||||
endif
|
||||
|
||||
define CPUBURN_ARM_BUILD_CMDS
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) -o $(@D)/cpuburn \
|
||||
$(@D)/$(CPUBURN_ARM_SRC)
|
||||
endef
|
||||
|
||||
define CPUBURN_ARM_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/cpuburn $(TARGET_DIR)/usr/bin/cpuburn
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user