mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-02-17 00:44:42 +02:00
tools/Makefile.common: added quiet compilation
This commit is contained in:
parent
9162689d3e
commit
be624169a9
@ -27,6 +27,18 @@ LDLIBS_ben =
|
|||||||
MACROS_host = -DHAVE_USB
|
MACROS_host = -DHAVE_USB
|
||||||
MACROS_ben = -DHAVE_USD
|
MACROS_ben = -DHAVE_USD
|
||||||
|
|
||||||
CC = $(CC_$(TARGET))
|
CC_normal := $(CC_$(TARGET))
|
||||||
|
AR_normal := $(AR)
|
||||||
|
CC_quiet = @echo " CC " $@ && $(CC_normal)
|
||||||
|
AR_quiet = @echo " AR " $@ && $(AR_normal)
|
||||||
|
|
||||||
|
ifeq ($(V),1)
|
||||||
|
CC = $(CC_normal)
|
||||||
|
AR = $(AR_normal)
|
||||||
|
else
|
||||||
|
CC = $(CC_quiet)
|
||||||
|
AR = $(AR_quiet)
|
||||||
|
endif
|
||||||
|
|
||||||
CFLAGS += -I../../atrf/fw/include -I../include $(MACROS_$(TARGET))
|
CFLAGS += -I../../atrf/fw/include -I../include $(MACROS_$(TARGET))
|
||||||
LDLIBS = $(LDLIBS_$(TARGET)) -L../lib -latspi
|
LDLIBS = $(LDLIBS_$(TARGET)) -L../lib -latspi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user