X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2FMakefile;h=30695a517630803bcc6cb0cab1370301b743be25;hp=4df40288d1b74c5e9a5e6068f482d195bbc8b488;hb=f3480afd0970eb232b17070d8596e5d09aef2c7e;hpb=2e3af17125cdd3e5b4c7725dfadd15f4c8145484 diff --git a/firmware/Makefile b/firmware/Makefile index 4df4028..30695a5 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -141,6 +141,14 @@ ifeq ($(filter jtag, $(config)), jtag) endif endif +# include MAX342x USB drivers. +ifeq ($(filter maxusb, $(config)), maxusb) + ifneq ($(filter apps/usb/maxusb.o, $(apps)), apps/usb/maxusb.o) + apps+= apps/usb/maxusb.o + hdrs+= maxusb.h + endif +endif + # include the sbw defs if they specified it ifeq ($(filter sbw, $(config)), sbw) # if they only specify sbw, include jtag