rk27load: fix linking with newer toolchains
Change-Id: Id8f86e9f5ca78f41ef4e6c6a9244031afe83389d
This commit is contained in:
parent
0cc6ba018e
commit
7569450d8e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
all: rk27load
|
||||
|
||||
rk27load: main.c scramble.c checksum.c common.c stage1_upload.c stage2_upload.c stage3_upload.c
|
||||
gcc -g -std=c99 -o $@ -W -Wall -lusb-1.0 -I/usr/include/libusb-1.0/ $^
|
||||
gcc -g -std=c99 -o $@ -W -Wall -I/usr/include/libusb-1.0/ $^ -lusb-1.0
|
||||
|
||||
clean:
|
||||
rm -fr *.o rk27load
|
||||
|
|
Loading…
Reference in a new issue