ubuntu-debian: allow to build linux-source package only
Tim Gardner
timg at tpi.com
Wed Jan 5 18:37:47 UTC 2011
The following changes since commit 802711e146dc2bc922d1cff5d72765b9afc5785a:
Andy Whitcroft (1):
UBUNTU: debian -- pass the correct flavour name when checking configs
are available in the git repository at:
git://kernel.ubuntu.com/rtg/ubuntu-debian.git master
Tim Gardner (1):
UBUNTU: Better cross compile support for linux-source
debian/rules | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
>From cbb6d62376dcb0d411a44268c4cc36053eefb746 Mon Sep 17 00:00:00 2001
From: Tim Gardner <tim.gardner at canonical.com>
Date: Wed, 5 Jan 2011 11:30:31 -0700
Subject: [PATCH] UBUNTU: Better cross compile support for linux-source
BugLink: http://bugs.launchpad.net/bugs/682681
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
debian/rules | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/debian/rules b/debian/rules
index 92ec033..4cb5ee3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,26 @@ ifeq ($(DEB_STAGE),stage1)
do_flavour_header_package=false
endif
+ifeq ($(SOURCE_ONLY),true)
+ do_tools=false
+ do_doc_package=false
+ do_source_package=true
+ do_flavour_image_package=false
+ do_flavour_header_package=false
+ do_libc_dev_package=false
+ do_source_package_content=true
+endif
+
+ifeq ($(BACKPORT),true)
+ do_tools=false
+ do_doc_package=false
+ do_source_package=true
+ do_flavour_image_package=false
+ do_flavour_header_package=false
+ do_libc_dev_package=false
+ do_source_package_content=true
+endif
+
# Debian Build System targets
binary: binary-indep binary-arch
--
1.7.0.4
More information about the kernel-team
mailing list