1
0
linux/debian/rules.d/tools/tracing/rtla/Makefile

20 lines
415 B
Makefile
Raw Permalink Normal View History

include $(top_rulesdir)/Makefile.inc
# Upstream enables LTO by default, but we don't want it
CFLAGS += -fno-lto
MAKE_RTLA := +CFLAGS='$(CFLAGS) $(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' $(MAKE) -C $(top_srcdir)/$(OUTDIR) O=$(CURDIR)
MAKE_RTLA += LD='$(CROSS_COMPILE)ld'
MAKE_RTLA += PKG_CONFIG='$(PKG_CONFIG)'
MAKE_RTLA += STRIP=true
MAKE_RTLA += V=1
all:
$(MAKE_RTLA)
install:
$(MAKE_RTLA) install
clean:
rm -rf *