linux-kbuild: Add objtool
This commit is contained in:
parent
1c59cc6aec
commit
3c9fb40bbb
|
@ -1,3 +1,10 @@
|
||||||
|
linux (4.14.12-2) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
[ Ben Hutchings ]
|
||||||
|
* linux-kbuild: Add objtool
|
||||||
|
|
||||||
|
-- Salvatore Bonaccorso <carnil@debian.org> Sat, 06 Jan 2018 07:37:50 +0100
|
||||||
|
|
||||||
linux (4.14.12-1) unstable; urgency=medium
|
linux (4.14.12-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream stable update:
|
* New upstream stable update:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
hv \
|
hv \
|
||||||
lib/lockdep \
|
lib/lockdep \
|
||||||
|
objtool \
|
||||||
perf \
|
perf \
|
||||||
power \
|
power \
|
||||||
usb/usbip
|
usb/usbip
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
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.
|
||||||
|
$(MAKE) -C $(top_srcdir)/tools/objtool O=$(CURDIR) ARCH=x86
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -D -m755 objtool $(DESTDIR)/$(installdir)/objtool
|
|
@ -548,6 +548,7 @@ install-kbuild: $(STAMPS_DIR)/build-tools
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_prep
|
dh_prep
|
||||||
$(call make-tools,scripts) install DESTDIR=$(DIR) prefix=$(PREFIX_DIR)
|
$(call make-tools,scripts) install DESTDIR=$(DIR) prefix=$(PREFIX_DIR)
|
||||||
|
$(call make-tools,tools/objtool) install DESTDIR=$(DIR) prefix=$(PREFIX_DIR)
|
||||||
dh_link $(PREFIX_DIR) /usr/src/$(PACKAGE_NAME)
|
dh_link $(PREFIX_DIR) /usr/src/$(PACKAGE_NAME)
|
||||||
dh_installchangelogs
|
dh_installchangelogs
|
||||||
dh_installdocs
|
dh_installdocs
|
||||||
|
|
Loading…
Reference in New Issue