Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126306 - ieee80211 and ipw2200 fail to merge when KBUILD_OUTPUT is set
Summary: ieee80211 and ipw2200 fail to merge when KBUILD_OUTPUT is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-03-15 07:17 UTC by Miika Linnapuomi
Modified: 2006-03-31 07:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miika Linnapuomi 2006-03-15 07:17:03 UTC
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="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}"
to:
BUILD_PARAMS="-C ${KV_DIR} M=${S}"

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

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.
Comment 1 Henrik Brix Andersen 2006-03-31 07:18:15 UTC
Fixed in net-wireless/ieee80211-1.1.13 and net-wireless/ipw2200-1.1.2, thank you for reporting this.

I'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