<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>126306</bug_id>
          
          <creation_ts>2006-03-15 07:17 0000</creation_ts>
          <short_desc>ieee80211 and ipw2200 fail to merge when KBUILD_OUTPUT is set</short_desc>
          <delta_ts>2006-03-31 07:18:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>some.mki@gmail.com</reporter>
          <assigned_to>mobile@gentoo.org</assigned_to>
          <cc>some.mki@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>some.mki@gmail.com</who>
            <bug_when>2006-03-15 07:17:03 0000</bug_when>
            <thetext>I have set KBUILD_OUTPUT in make.conf as I compile my kernels using O= to keep the sources directory clean.

To fix it I just had to change:
BUILD_PARAMS=&quot;KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}&quot;
to:
BUILD_PARAMS=&quot;-C ${KV_DIR} M=${S}&quot;

and on ipw2200 to:
BUILD_PARAMS=&quot;-C ${KV_DIR} M=${S} IEEE80211_INC=/usr/include&quot;

These seem to work nicely even with the output files in the kernel sources dir. The M= is the new way to build modules outside the sources dir according to /usr/src/linux/Makefile, and O= or KSRC_OUTPUT= isnt needed as KBUILD_OUTPUT will be in the environment anyway if it is set.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2006-03-31 07:18:15 0000</bug_when>
            <thetext>Fixed in net-wireless/ieee80211-1.1.13 and net-wireless/ipw2200-1.1.2, thank you for reporting this.

I&apos;ve solved the problem a bit different than you proposed and submitted it for upstream inclusion at http://bughost.org/bugzilla/show_bug.cgi?id=987</thetext>
          </long_desc>
      
    </bug>

</bugzilla>