Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: tools: Add a Makefile

Build USB tools easier.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Davidlohr Bueso and committed by
Greg Kroah-Hartman
4f22ce70 05c3eebd

+13
+13
tools/usb/Makefile
··· 1 + # Makefile for USB tools 2 + 3 + CC = $(CROSS_COMPILE)gcc 4 + PTHREAD_LIBS = -lpthread 5 + WARNINGS = -Wall -Wextra 6 + CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) 7 + 8 + all: testusb ffs-test 9 + %: %.c 10 + $(CC) $(CFLAGS) -o $@ $^ 11 + 12 + clean: 13 + $(RM) testusb ffs-test