freebsd / drm-kmod-firmware

KMS firmware components for graphics/kms-firmware port
Other
22 stars 17 forks source link

Normalize the Makefiles and do almost all logic in the Makefile.inc #14

Closed bzfbd closed 3 years ago

bzfbd commented 3 years ago

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)

bzfbd commented 3 years ago

Can anyone please check this and apply it so we can split the ports. I'll really soon need to add linux_firmware compat loading to linuxkpi.