LibBSD | waf: Add uninstall command (!139)
Matteo Concas (@matteo.concas)
gitlab at rtems.org
Tue May 12 14:24:58 UTC 2026
Matteo Concas commented on a discussion: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/139#note_149859
> How exactly is this command used?
After the configure step you would do `./waf uninstall` and it would reverse a potential `./waf install`, removing the installed files.
> I notice there's not a corresponding uninstall function added to the bottom of the wscript file and I thought that was required for top-level commands to function.
I don't see a install function at the bottom of the wscript either so I assume these are handled by Waf directly? I'm not super familiar with the system.
> I don't know that we can guarantee a full reversion of the installation action. I remember something about default files from the BSP being overwritten in rare but intentional cases which would prevent this.
That may be the case. I know the main RTEMS repo and rtems-lwip have the ability to use this uninstall command so I figured rtems-libbsd should have it too.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/139#note_149859
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260512/6235e6d3/attachment.htm>
More information about the bugs
mailing list