release 6.15.8
This commit is contained in:
20
debian/rules.d/tools/tracing/rtla/Makefile
vendored
20
debian/rules.d/tools/tracing/rtla/Makefile
vendored
@@ -1,23 +1,17 @@
|
||||
include $(top_rulesdir)/Makefile.inc
|
||||
|
||||
# Upstream enables LTO by default, but we don't want it
|
||||
CFLAGS += -fno-lto
|
||||
# Upstream enables LTO by default, but we don't want it. We need to
|
||||
# put -fno-lto in the CFLAGS *environment* variable so it comes after
|
||||
# the -flto option but does not override other necessary options
|
||||
# appended to CFLAGS by upstream.
|
||||
MAKE_UPSTREAM_ENV = CFLAGS=-fno-lto
|
||||
|
||||
# Use the version of libcpupower that we just built
|
||||
CPPFLAGS += -I$(top_srcdir)/tools/power/cpupower/lib
|
||||
LDFLAGS += -L$(CURDIR)/../../power/cpupower
|
||||
|
||||
MAKE_RTLA := +CFLAGS='$(CFLAGS) $(CPPFLAGS)' EXTRA_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)
|
||||
$(MAKE_UPSTREAM)
|
||||
|
||||
install:
|
||||
$(MAKE_RTLA) install
|
||||
|
||||
clean:
|
||||
rm -rf *
|
||||
$(MAKE_UPSTREAM) install
|
||||
|
Reference in New Issue
Block a user