# 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.
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}