Skip to content

Commit

Permalink
build successful
Browse files Browse the repository at this point in the history
  • Loading branch information
wlhe committed Nov 24, 2017
1 parent 74ef85a commit 9147958
Show file tree
Hide file tree
Showing 6 changed files with 1,053 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.o
uvc-gadget
.vscode

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CROSS_COMPILE ?=
CROSS_COMPILE ?=
ARCH ?= x86
KERNEL_DIR ?= /usr/src/linux

Expand Down
28 changes: 28 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## uvc-gadget

usb video class testing app

## Build

- host:
make
- Cross compile:
make ARCH=arch CROSS_COMPILE=cross_compiler
eg:
make ARCH=arm CROSS_COMPILE=arm-hisiv600-linux-
- or:
set ARCH, CROSS_COMPILE, KERNEL_DIR in Makefile

## Documentation

- [gadget-testing.txt](https://github.com/torvalds/linux/blob/master/Documentation/usb/gadget-testing.txt)
- [more doc](https://github.com/torvalds/linux/tree/master/Documentation/usb)

## Change log

- Add Readme/.gitignore and documentations
Copy linux-3.18.y/drivers/usb/gadget/function/uvc.h into repository, change include path for build

### Initial

- Fork(copy) from [uvc-gadget.git](http://git.ideasonboard.org/uvc-gadget.git)
Loading

0 comments on commit 9147958

Please sign in to comment.