1
0
linux/debian/rules.d/tools/tracing/rtla/Makefile
Konstantin Demin 6d27d8e6f8 rework doc
- drop linux-doc
- always build tools with docs
2024-10-29 05:12:06 +03:00

20 lines
415 B
Makefile

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 *