[PATCH 1/2] UBUNTU: [Packaging] drop redundant = from define statements

Andy Whitcroft apw at canonical.com
Tue Feb 5 10:32:26 UTC 2019


This = syntax is not supported in older GNU Make versions and the = form
is exactly equivalent to the unannoted define.

Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 3200f755bb26..f32b61e2d1fc 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -39,7 +39,7 @@ prepare-%: $(stampdir)/stamp-prepare-%
 build-%: $(stampdir)/stamp-build-%
 	@echo Debug: $@
 
-define build_zfs =
+define build_zfs
 	#
 	# SPL/ZFS wants a fully built kernel before you can configure and build.
 	# It seems to be impossible to tease out the application configuration
@@ -74,14 +74,14 @@ $(stampdir)/stamp-build-%: $(stampdir)/stamp-prepare-%
 
 	@touch $@
 
-define install_zfs =
+define install_zfs
 	cd $(builddir)/build-$*/spl/module; \
 		$(kmake) -C $(builddir)/build-$* SUBDIRS=`pwd` modules_install $(splopts)
 	cd $(builddir)/build-$*/zfs/module; \
 		$(kmake) -C $(builddir)/build-$* SUBDIRS=`pwd` modules_install $(zfsopts)
 endef
 
-define install_control =
+define install_control
 	for which in $(3);							\
 	do									\
 		template="$(DROOT)/templates/$(2).$$which.in";			\
-- 
2.20.1




More information about the kernel-team mailing list