diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:02:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:02:38 +0000 |
commit | 08b74a000942a380fe028845f92cd3a0dee827d5 (patch) | |
tree | aa78b4e12607c3e1fcce8d5cc42df4330792f118 /debian/rules.d/tools/objtool | |
parent | Adding upstream version 4.19.249. (diff) | |
download | linux-f0b728ab30c2182dd64b73ed0c39114124b8488a.tar.xz linux-f0b728ab30c2182dd64b73ed0c39114124b8488a.zip |
Adding debian version 4.19.249-2.debian/4.19.249-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules.d/tools/objtool')
-rw-r--r-- | debian/rules.d/tools/objtool/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/rules.d/tools/objtool/Makefile b/debian/rules.d/tools/objtool/Makefile new file mode 100644 index 000000000..9990cde31 --- /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=$(KBUILD_VERBOSE) + +install: + install -D -m755 objtool $(DESTDIR)/$(installdir)/objtool |