/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.124 Revision 1.125
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.124 2005/05/09 17:20:11 plasmaroo Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.125 2005/05/15 20:30:04 johnm Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
319} 319}
320 320
321# Compile Functions 321# Compile Functions
322#============================================================== 322#==============================================================
323compile_headers() { 323compile_headers() {
324 # Since KBUILD_OUTPUT shouldnt be used when compiling headers, lets unset it
325 # if it exists.
326 [[ -n ${KBUILD_OUTPUT} ]] && unset KBUILD_OUTPUT
327
324 # if we couldnt obtain HOSTCFLAGS from the Makefile, 328 # if we couldnt obtain HOSTCFLAGS from the Makefile,
325 # then set it to something sane 329 # then set it to something sane
326 local HOSTCFLAGS=$(getfilevar HOSTCFLAGS ${S}/Makefile) 330 local HOSTCFLAGS=$(getfilevar HOSTCFLAGS ${S}/Makefile)
327 HOSTCFLAGS=${HOSTCFLAGS:--Wall -Wstrict-prototypes -O2 -fomit-frame-pointer} 331 HOSTCFLAGS=${HOSTCFLAGS:--Wall -Wstrict-prototypes -O2 -fomit-frame-pointer}
328 332

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.20