set object output dir when checking kernel version
authorDaniel Drake <dsd@gentoo.org>
Thu, 7 Dec 2006 18:52:55 +0000 (18:52 +0000)
committerDaniel Drake <dsd@gentoo.org>
Thu, 7 Dec 2006 18:52:55 +0000 (18:52 +0000)
eclass/linux-info.eclass

index d59fe2213a43046d956ad9eaf03e5201ef3640ee..b48d310fa4770c0db474c55ed95103b384f2ce35 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.49 2006/12/05 18:16:09 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.50 2006/12/07 18:52:55 dsd Exp $
 #
 # Description: This eclass is used as a central eclass for accessing kernel
 #                         related information for sources already installed.
@@ -120,7 +120,7 @@ local       ERROR workingdir basefname basedname myARCH="${ARCH}"
 
                cd "${basedname}"
                echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \
-                       make ${BUILD_FIXES} -s -f - 2>/dev/null
+                       make M="${S}" ${BUILD_FIXES} -s -f - 2>/dev/null
                cd "${workingdir}"
 
                ARCH=${myARCH}