initial commit
imported from https://salsa.debian.org/kernel-team/linux.git commit 9d5cc9d9d6501d7f1dd7e194d4b245bd0b6c6a22 version 6.11.4-1
This commit is contained in:
22
debian/rules.d/tools/tracing/rtla/Makefile
vendored
Normal file
22
debian/rules.d/tools/tracing/rtla/Makefile
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
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 *
|
Reference in New Issue
Block a user