Konstantin Demin
c3d09a3e94
imported from https://salsa.debian.org/kernel-team/linux.git commit 9d5cc9d9d6501d7f1dd7e194d4b245bd0b6c6a22 version 6.11.4-1
23 lines
501 B
Makefile
23 lines
501 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
|
|
ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
|
rm -rf $(DESTDIR)/usr/share/man
|
|
endif
|
|
|
|
clean:
|
|
rm -rf *
|