summaryrefslogtreecommitdiffstats
path: root/utils/jz4760_tools/Makefile
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-04-03 22:14:11 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-04-08 18:54:46 +0100
commitc90d42dcc6aee53a0743e913d56a33ff9e1e14f3 (patch)
treeb80e4ceba22df9920434a6c5536ae9d9f500d5ca /utils/jz4760_tools/Makefile
parent4934bd6f24f97923f2dacd5afa022055a4b52a6e (diff)
downloadrockbox-c90d42dcc6aee53a0743e913d56a33ff9e1e14f3.tar.gz
rockbox-c90d42dcc6aee53a0743e913d56a33ff9e1e14f3.tar.bz2
rockbox-c90d42dcc6aee53a0743e913d56a33ff9e1e14f3.zip
jz4670_tools: add usbboot tool, tweak Makefile and packtool
Although the jz4740 contains a similar tool to usbboot, its command-line interface is not very useful, also it does not compile by default because it relies on some external code, and it contains code specific to some JZ4740 devices. Change-Id: I22688238d147e21fb0fd524466b333b6003d4ff1
Diffstat (limited to 'utils/jz4760_tools/Makefile')
-rw-r--r--utils/jz4760_tools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/jz4760_tools/Makefile b/utils/jz4760_tools/Makefile
index 847539e38c..f181fa5c70 100644
--- a/utils/jz4760_tools/Makefile
+++ b/utils/jz4760_tools/Makefile
@@ -2,9 +2,9 @@ DEFINES=
CC?=gcc
CXX?=g++
LD?=g++
-CFLAGS=-g -std=c99 -Wall $(DEFINES) -Ilib
+CFLAGS=-g -std=c99 -Wall $(DEFINES) `pkg-config --cflags libusb-1.0`
CXXFLAGS=-g -Wall $(DEFINES)
-LDFLAGS=
+LDFLAGS=`pkg-config --libs libusb-1.0`
SRC=$(wildcard *.c)
SRCXX=$(wildcard *.cpp)
EXEC=$(SRC:.c=) $(SRCXX:.cpp=)