From: Tom Rini Date: Mon, 18 Jan 2021 07:59:44 -0500 Subject: [PATCH 1/1] cmd: CMD_CPU depends on CPU In-Reply-To: <20201104232911.72901-1-xypron.glpk@gmx.de> References: <20201104232911.72901-1-xypron.glpk@gmx.de> Message-ID: <20210118125944.GF9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 05, 2020 at 12:29:11AM +0100, Heinrich Schuchardt wrote: > Compiling with CONFIG_CMD_CPU=y and CONFIG_CPU=n fails with: > > aarch64-linux-gnu-ld.bfd: cmd/built-in.o: in function `print_cpu_list': > /home/user/u-boot/cmd/cpu.c:34: undefined reference to `cpu_get_desc' > aarch64-linux-gnu-ld.bfd: > /home/user/u-boot/cmd/cpu.c:39: undefined reference to `cpu_get_info' > Segmentation fault (core dumped) > make: *** [Makefile:1757: u-boot] Error 139 > make: *** Deleting file 'u-boot' > > See error report in https://stackoverflow.com/questions/64678347. > > Add the missing build dependency. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: