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-<arch>.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 <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain 2022-12-27 20:53:39 +01:00 committed by Thomas Petazzoni
parent 9a58d1aa9e
commit 1df9d42bdd

View File

@ -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