Return to Makefile CVS log | Up to [local] / openbsd / fw_update |
File: [local] / openbsd / fw_update / Makefile (download)
Revision 1.1, Wed Dec 22 03:54:55 2021 UTC (2 years, 6 months ago) by afresh1
Add some C that will regen the firmware_patterns All the good stuff here is from jsg at, I just munged it up to make it print the other stuff. Really this is just terrible but I am very much not a C programmer. |
firmware_patterns: gen_firmware_patterns $(.OBJDIR)/gen_firmware_patterns | sort | uniq > $@ gen_firmware_patterns: $@.c $(CC) -I /usr/src/sys/dev/pci/drm/amd/amdgpu \ -I /usr/src/sys/dev/pci/drm/i915 \ -I /usr/src/sys/dev/pci/drm/radeon \ -o $@ $@.c clean: rm -f $(.OBJDIR)/gen_firmware_patterns