Skip to content

Commit

Permalink
fork repository
Browse files Browse the repository at this point in the history
  • Loading branch information
wlhe committed Nov 23, 2017
0 parents commit 74ef85a
Show file tree
Hide file tree
Showing 2 changed files with 760 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CROSS_COMPILE ?=
ARCH ?= x86
KERNEL_DIR ?= /usr/src/linux

CC := $(CROSS_COMPILE)gcc
KERNEL_INCLUDE := -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/arch/$(ARCH)/include
CFLAGS := -W -Wall -g $(KERNEL_INCLUDE)
LDFLAGS := -g

all: uvc-gadget

uvc-gadget: uvc-gadget.o
$(CC) $(LDFLAGS) -o $@ $^

clean:
rm -f *.o
rm -f uvc-gadget
Loading

0 comments on commit 74ef85a

Please sign in to comment.