However, please change the system firmware path in config.h rather than in loader.c (just change UCODEDIR as appropriate).
Also, you don't need #include "loader.h" again; it's already included in the file (otherwise you end up including it twice).
Make sure the compiler passes -DHAVE_CONFIG to get it to include the config file (which the current Makefile already does, but I'm not very good at writing them, so dh_build might invoke it differently).
I'll then include the debian/ directory and udev script upstream.
Thanks, by the way! Turned out much better than my package! :)
@wvengen: Awesome! Works as advertised!
However, please change the system firmware path in config.h rather than in loader.c (just change UCODEDIR as appropriate).
Also, you don't need #include "loader.h" again; it's already included in the file (otherwise you end up including it twice).
Make sure the compiler passes -DHAVE_CONFIG to get it to include the config file (which the current Makefile already does, but I'm not very good at writing them, so dh_build might invoke it differently).
I'll then include the debian/ directory and udev script upstream.
Thanks, by the way! Turned out much better than my package! :)