[kernel] r6292 - people/waldi/linux-2.6/debian

Bastian Blank waldi at costa.debian.org
Sun Mar 26 19:57:50 UTC 2006


Author: waldi
Date: Sun Mar 26 19:57:48 2006
New Revision: 6292

Modified:
   people/waldi/linux-2.6/debian/rules.real
Log:
debian/rules.real: Redefine COMPILER in cross compiling mode.


Modified: people/waldi/linux-2.6/debian/rules.real
==============================================================================
--- people/waldi/linux-2.6/debian/rules.real	(original)
+++ people/waldi/linux-2.6/debian/rules.real	Sun Mar 26 19:57:48 2006
@@ -48,13 +48,12 @@
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
   setup_makeflags += CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
   ifdef COMPILER
-    setup_makeflags += CC=$(DEB_HOST_GNU_TYPE)-$(COMPILER)
+    override COMPILER := $(DEB_HOST_GNU_TYPE)-$(COMPILER)
   endif
   kpkg_image += --cross-compile='$(DEB_HOST_GNU_TYPE)'
-else
-  ifdef COMPILER
-    setup_makeflags += CC=$(COMPILER)
-  endif
+endif
+ifdef COMPILER
+  setup_makeflags += CC=$(COMPILER)
 endif
 setup_env += MAKEFLAGS='$(setup_makeflags)'
 



More information about the Kernel-svn-changes mailing list