From 01997497f915e8f79871f3f2acb55ac465051d24 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:59 +0200 Subject: Adding debian version 6.1.76-1. Signed-off-by: Daniel Baumann --- debian/rules.d/tools/objtool/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 debian/rules.d/tools/objtool/Makefile (limited to 'debian/rules.d/tools/objtool/Makefile') diff --git a/debian/rules.d/tools/objtool/Makefile b/debian/rules.d/tools/objtool/Makefile new file mode 100644 index 000000000..e2bb8c865 --- /dev/null +++ b/debian/rules.d/tools/objtool/Makefile @@ -0,0 +1,11 @@ +include $(top_rulesdir)/Makefile.inc + +all: +# For now, only supported target architecture is x86. Later we'll need to build +# for multiple targets and add a wrapper, same as for modpost. +# objtool explicitly sets CC and LD to be native tools; we need to override +# this on the command line to make cross-builds work. + $(MAKE) -C $(top_srcdir)/tools/objtool O=$(CURDIR) HOSTARCH=$(KERNEL_ARCH) ARCH=x86 CC=$(CC) LD=$(CROSS_COMPILE)ld V=1 EXTRA_CFLAGS='$(CFLAGS) $(CPPFLAGS)' + +install: + install -D -m755 objtool $(DESTDIR)/$(installdir)/objtool -- cgit v1.2.3