[Buildroot] [PATCH] cpuburn-arm: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Nov 20 13:52:11 UTC 2019


Hello,

On Wed, 20 Nov 2019 14:45:23 +0200
Baruch Siach <baruch at tkos.co.il> wrote:

> cpuburn-arm burns CPU cycles to generate as much heat as possible.
> Useful for stress testing.
> 
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>

Commit title lacks package/, i.e package/cpuburn-arm: new package.

> diff --git a/package/cpuburn-arm/Config.in b/package/cpuburn-arm/Config.in
> new file mode 100644
> index 000000000000..afea5aae0b69
> --- /dev/null
> +++ b/package/cpuburn-arm/Config.in
> @@ -0,0 +1,14 @@
> +config BR2_PACKAGE_CPUBURN_ARM_ARCH_SUPPORT

	..._ARCH_SUPPORTS

> +	bool
> +	default y
> +	depends on BR2_cortex_a7 || BR2_cortex_a8 || BR2_cortex_a9 || \
> +		BR2_cortex_a53

I'm not sure we really need this option when it's only used in a single
place, but if you do want the option, use this syntax:

	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

Otherwise looks good. Probably not needed to send a new iteration just
for my minor comments, they can be taken into account when applying.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list