[Q][PATCH 4/5] UBUNTU: [Packaging] debian/rules.d/0-common-vars.mk: enable linux-tools cross-compilation

Zixing Liu zixing.liu at canonical.com
Fri Jun 27 00:44:02 UTC 2025


This patch removes the restriction that limits the linux-tools package
build to native architecture.

Signed-off-by: Zixing Liu <zixing.liu at canonical.com>
---
 debian/rules.d/0-common-vars.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk
index 0dd598545ac9..6a0c37493fa4 100644
--- a/debian/rules.d/0-common-vars.mk
+++ b/debian/rules.d/0-common-vars.mk
@@ -125,11 +125,6 @@ do_common_headers_indep=true
 
 # build tools
 ifneq ($(wildcard $(CURDIR)/tools),)
-	ifeq ($(do_tools),)
-		ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-			do_tools=false
-		endif
-	endif
 	do_tools?=true
 else
 	do_tools?=false
-- 
2.48.1




More information about the kernel-team mailing list