Normalize the Makefiles and do almost all logic in the Makefile.inc
for each driver firmware directory.
This produces the exact same kernel object files as does master.
A diff -rN to both install directories built on the same machine/
installation shows no more differences between master and a
branch with this change.
This should make it easier to implement the additional change of
https://github.com/FreeBSDDesktop/kms-firmware/pull/13 later
as it'll only change the 3 Makefile.inc for that then.
This should then also make it easier to have an extra port for
HEAD vs. STABLE by simply having a sub-port adding the extra small
diff rather than needing separate branches.
Normalize the Makefiles and do almost all logic in the Makefile.inc for each driver firmware directory.
This produces the exact same kernel object files as does master. A diff -rN to both install directories built on the same machine/ installation shows no more differences between master and a branch with this change.
This should make it easier to implement the additional change of https://github.com/FreeBSDDesktop/kms-firmware/pull/13 later as it'll only change the 3 Makefile.inc for that then. This should then also make it easier to have an extra port for HEAD vs. STABLE by simply having a sub-port adding the extra small diff rather than needing separate branches.
Sponsored by: The FreeBSD Foundation (originally)