# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ K_SECURITY_UNSUPPORTED=1 K_NOSETEXTRAVERSION=1 ETYPE="sources" inherit kernel-2 eutils versionator detect_version DEPEND="${DEPEND} /dev/null [[ -z ${K_NOSETEXTRAVERSION} ]] && unpack_set_extraversion unpack_fix_install_path # Setup xmakeopts and cd into sourcetree. env_setup_xmakeopts cd "${S}" # We dont need a version.h for anything other than headers # at least, I should hope we dont. If this causes problems # take out the if/fi block and inform me please. # unpack_2_6 should now be 2.6.17 safe anyways if [[ ${ETYPE} == headers ]]; then kernel_is 2 4 && unpack_2_4 kernel_is 2 6 && unpack_2_6 fi }