1
0

release 6.15.8

This commit is contained in:
2025-07-26 13:24:48 +03:00
parent 48372baf14
commit 4d05ae4de6
27 changed files with 206 additions and 244 deletions

View File

@@ -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