From 1df9d42bdd8cc2e594d6337ee62c3f31499baf80 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Tue, 27 Dec 2022 20:53:39 +0100 Subject: [PATCH] package/fmlib: fix build for ppc e500mc When BR2_powerpc_e500mc=y, fmlib package compilation fails with output: make[2]: *** No rule to make target 'libfm-e500mc.a'. Stop. The fmlib package "make help" command shows: The available make libfm-.a targets are: libfm-ppce500mc.a (P2, P3, P4) ... The package Config.in incorrectly sets BR2_PACKAGE_FMLIB_ARCHTYPE to "e500mc", which is then passed as the package make target. The correct value should be "ppce500mc". The commit fixes this build issue. Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni --- package/fmlib/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/fmlib/Config.in b/package/fmlib/Config.in index df4ae440ea..7bccfd7c83 100644 --- a/package/fmlib/Config.in +++ b/package/fmlib/Config.in @@ -37,7 +37,7 @@ endchoice config BR2_PACKAGE_FMLIB_ARCHTYPE string - default "e500mc" if BR2_powerpc_e500mc + default "ppce500mc" if BR2_powerpc_e500mc default "ppc64e6500" if BR2_powerpc_e6500 && BR2_powerpc64 default "ppc32e6500" if BR2_powerpc_e6500 && BR2_powerpc