Logo
Explore Help
Sign In
armbian/linux
0
0
Fork 0
You've already forked linux
mirror of https://github.com/armbian/linux.git synced 2026-01-06 10:13:00 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
1a076689cda8a1d623dcda170b2dc2b476cc6f1a
linux/tools/usb/Makefile

14 lines
242 B
Makefile
Raw Normal View History

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>
2011-02-06 14:13:37 -03:00
# Makefile for USB tools
CC = $(CROSS_COMPILE)gcc
PTHREAD_LIBS = -lpthread
WARNINGS = -Wall -Wextra
USB: ffs-test: Don't duplicate {get,put}_unaligned*() functions Use the header file in tools/include instead of duplicating the endian functions. Cc: Davidlohr Bueso <dave@gnu.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com> Link: http://lkml.kernel.org/r/1330436245-24875-7-git-send-email-matt@console-pimps.org Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2012-02-28 13:37:25 +00:00
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) -I../include
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>
2011-02-06 14:13:37 -03:00
all: testusb ffs-test
%: %.c
$(CC) $(CFLAGS) -o $@ $^
clean:
$(RM) testusb ffs-test
Reference in New Issue Copy Permalink
Powered by Gitea Page: 649ms Template: 15ms
English
English
Licenses API