[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c1bcd796-033e-4ff1-b610-c7c2f64e0b44@linuxfoundation.org>
Date: Fri, 28 Jun 2024 16:05:37 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Roman Storozhenko <romeusmeister@...il.com>,
Thomas Renninger <trenn@...e.com>, Shuah Khan <shuah@...nel.org>,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] cpupower: Disable direct build of the 'bench' subproject
On 6/26/24 10:45, Roman Storozhenko wrote:
> Execution of the 'make' command in the 'bench' subfolder causes the
> following error:
>
> $ make O=cpupower/build/ DESTDIR=cpupower/install/ -j8
> " CC " cpupower/build//main.o
> " CC " cpupower/build//parse.o
> /bin/sh: 1: " CC "cpupower/build//system.o
> CC : not found
> make: *** [Makefile:21: cpupower/build//main.o] Error 127
> make: *** Waiting for unfinished jobs....
> /bin/sh: 1: CC : not found
> /bin/sh: 1: CC : not found
> make: *** [Makefile:21: cpupower/build//parse.o] Error 127
> make: *** [Makefile:21: cpupower/build//system.o] Error 127
>
> The makefile uses variables defined in the main project makefile and it
> is not intended to run standalone. The reason is that 'bench' subproject
> depends on the 'libcpupower' library, see the 'compile-bench' target in
> the main makefile.
> Add a check that prevents standalone execution of the 'bench' makefile.
>
> Signed-off-by: Roman Storozhenko <romeusmeister@...il.com>
> ---
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=cpupower
for Linux 6.11-rc1
thanks,
-- Shuah
Powered by blists - more mailing lists