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

23 lines
501 B
Makefile
Raw 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
ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
rm -rf $(DESTDIR)/usr/share/man
endif
clean:
rm -rf *