> On Apr 9, 2021, at 08:25 , Sebastian Huber > <sebastian.hu...@embedded-brains.de> wrote: > > On 09/04/2021 14:01, dufa...@hda.com wrote: > >> I checked all the "spec/build/bsps/ARCH/grp.yml" files and don't see >> anything like "variant" to restrict specifications to a subset of the BSPs >> in "ARCH". > > This is the wrong level for BSP-specific options. You have to look for: > > spec/build/bsps/ARCH/FAMILY/grp.yml
This won't work, "powerpc/shared/console" is shared across powerpc FAMILYs: [dufault@gen6 powerpc]$ grep -r shared/console . ./beatnik/bspbeatnik.yml:- bsps/powerpc/shared/console/console.c ./beatnik/bspbeatnik.yml:- bsps/powerpc/shared/console/uart.c ./haleakala/bsphaleakala.yml:- bsps/powerpc/shared/console/console.c ./haleakala/bsphaleakala.yml:- bsps/powerpc/shared/console/uart.c ./motorola_powerpc/obj.yml:- bsps/powerpc/shared/console/console.c ./motorola_powerpc/obj.yml:- bsps/powerpc/shared/console/uart.c ./mvme3100/bspmvme3100.yml:- bsps/powerpc/shared/console/console.c ./mvme3100/bspmvme3100.yml:- bsps/powerpc/shared/console/uart.c ./mvme5500/bspmvme5500.yml:- bsps/powerpc/shared/console/console.c ./mvme5500/bspmvme5500.yml:- bsps/powerpc/shared/console/uart.c [dufault@gen6 powerpc]$ There is a missing FAMILY ("mvmexxxx") for the PowerPC VME boards "beatnik" (supports MVME5500 and MVME6100), "mvme3100", and "mvme5500" where we would put a "grp.yml" file for the console baud and other shared items on the VME boards. There are still other FAMILY members outside of that non-existent VME family that wouldn't be addressed ("haleakala", "motorola_powerpc"). Adding FAMILY "mvmexxxx" is a valuable cleanup, but not one I can do now when I'm trying to cleanly-enough fix the default console baud and then move on to other pressing items. I'll leave "uid: ../../optconsolebaud" in "spec/build/bsps/powerpc/{beatnik,haleakala,motorola_powerpc,mvme3100,mvme5500}/bsp*yml". > >> >> So, instead of changing the >> "powerpc/{beatnik/haleakala,motorola_powerpc,mvme3100,mvme5500}/bsp*.yml}" >> files to add the build-dependency on "uid: ../../optconsolebaud" can I put >> it in the "spec/build/bsps/powerpc/grp.yml" file? > Actually, it would be nice if all BSPs use the same option for this setting. > However, this requires that someone has the time to convert all console > drivers to use this option. Also the removal of the old build system is > required for cleanup work like this. > Peter ----------------- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception and tampering.
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel