objtool, usbip: Build with V=1 by default
These two are terse by default and don't respect the KBUILD_VERBOSE environment variable. (I considered adding V=1 to the MAKEFLAGS we use by default in debian/rules.real, but this might have different semantics for the few tools that aren't built using either kbuild or automake.)
This commit is contained in:
parent
33d2e14d4d
commit
795e430c4d
|
@ -16,6 +16,7 @@ linux (4.18~rc7-1~exp1) UNRELEASED; urgency=medium
|
|||
* Update policy version to 4.2.0:
|
||||
- linux-kbuild: Change "#!/usr/bin/env perl" to "#!/usr/bin/perl"
|
||||
- Build with KBUILD_VERBOSE=1 by default
|
||||
- objtool, usbip: Build with V=1 by default
|
||||
|
||||
-- Uwe Kleine-König <ukleinek@debian.org> Sat, 21 Jul 2018 16:52:01 +0200
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ all:
|
|||
# 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
|
||||
$(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
|
||||
|
|
|
@ -19,10 +19,10 @@ all:
|
|||
--disable-shared \
|
||||
--disable-static \
|
||||
--host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
$(MAKE)
|
||||
$(MAKE) V=$(KBUILD_VERBOSE)
|
||||
|
||||
install:
|
||||
$(MAKE) install
|
||||
$(MAKE) V=$(KBUILD_VERBOSE) install
|
||||
ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
||||
rm -rf $(DESTDIR)/usr/share/man
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue