* [Buildroot] [PATCH 1/1] package/fmlib: fix build for ppc e500mc
@ 2022-12-27 19:53 Julien Olivain
2022-12-27 20:04 ` Thomas Petazzoni via buildroot
2023-01-01 18:23 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Julien Olivain @ 2022-12-27 19:53 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, Matt Weber
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>
---
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
--
2.39.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/fmlib: fix build for ppc e500mc
2022-12-27 19:53 [Buildroot] [PATCH 1/1] package/fmlib: fix build for ppc e500mc Julien Olivain
@ 2022-12-27 20:04 ` Thomas Petazzoni via buildroot
2023-01-01 18:23 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-27 20:04 UTC (permalink / raw)
To: Julien Olivain; +Cc: Matt Weber, buildroot
On Tue, 27 Dec 2022 20:53:39 +0100
Julien Olivain <ju.o@free.fr> wrote:
> 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>
> ---
> package/fmlib/Config.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/fmlib: fix build for ppc e500mc
2022-12-27 19:53 [Buildroot] [PATCH 1/1] package/fmlib: fix build for ppc e500mc Julien Olivain
2022-12-27 20:04 ` Thomas Petazzoni via buildroot
@ 2023-01-01 18:23 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-01-01 18:23 UTC (permalink / raw)
To: Julien Olivain; +Cc: Matt Weber, buildroot
>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes:
> 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>
Committed to 2022.11.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-01 18:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-27 19:53 [Buildroot] [PATCH 1/1] package/fmlib: fix build for ppc e500mc Julien Olivain
2022-12-27 20:04 ` Thomas Petazzoni via buildroot
2023-01-01 18:23 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox