From c90d42dcc6aee53a0743e913d56a33ff9e1e14f3 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 3 Apr 2016 22:14:11 +0100 Subject: 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 --- utils/jz4760_tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/jz4760_tools/Makefile') 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=) -- cgit