r4222 - dists/trunk/linux-2.6/debian

Bastian Blank waldi at costa.debian.org
Thu Sep 15 14:42:01 UTC 2005


Author: waldi
Date: 2005-09-15 14:42:01 +0000 (Thu, 15 Sep 2005)
New Revision: 4222

Modified:
   dists/trunk/linux-2.6/debian/rules.real
Log:
debian/rules.real: Fix CC value for cross compilation.


Modified: dists/trunk/linux-2.6/debian/rules.real
===================================================================
--- dists/trunk/linux-2.6/debian/rules.real	2005-09-15 13:20:46 UTC (rev 4221)
+++ dists/trunk/linux-2.6/debian/rules.real	2005-09-15 14:42:01 UTC (rev 4222)
@@ -51,15 +51,16 @@
   kpkg_header += --subarch $(KPKG_SUBARCH)
 endif
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+  kpkg_header += --cross-compile=$(DEB_HOST_GNU_TYPE)
   kpkg_image += --cross-compile=$(DEB_HOST_GNU_TYPE)
 endif
 setup_env := env -u ABINAME -u ARCH -u SUBARCH -u FLAVOUR -u VERSION
 setup_env += DEBIAN_ABINAME=$(ABINAME) DEBIAN_FLAVOUR=$(FLAVOUR) DEBIAN_VERSION=$(VERSION)
 setup_makeflags =
 ifdef COMPILER
-  setup_makeflags += CC=$(COMPILER)
+  setup_makeflags += CC=$$$$(CROSS_COMPILE)$(COMPILER)
 endif
-setup_env += MAKEFLAGS="$(setup_makeflags)"
+setup_env += MAKEFLAGS='$(setup_makeflags)'
 ifndef headers_dirs
   headers_dirs = $(DEB_HOST_ARCH)
 endif




More information about the Kernel-svn-changes mailing list