Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61884 - misc updates for mips-headers-2.6.x
Summary: misc updates for mips-headers-2.6.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS All
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 21:12 UTC by SpanKY
Modified: 2004-08-30 19:35 UTC (History)
0 users

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 SpanKY gentoo-dev 2004-08-26 21:12:01 UTC
(1) update kernel.eclass's set_arch_to_kernel to handle mips

(2) in src_compile(), instead of screwing around with $ARCh, first call set_arch_to_kernel at the beginning and then call set_arch_to_portage at the end

(3) make defconfig's should be run like this:
make defconfig HOSTCFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I${S}/include/" otherwise some files fail to be generated if /usr/include/{linux,asm} is empty (user cleaned all kernel headers or something)

(4) after running the defconfig target, `make prepare` should be run (passing the same $HOSTCFLAGS as above) ... this is a new target for 2.6 and generates a bunch of required files/symlinks ... depends on the $ARCH as to what exactly gets 'prepared'
Comment 1 SpanKY gentoo-dev 2004-08-26 21:16:13 UTC
and here's one list thing to be imported from the linux26-headers package:

from src_compile():
    # autoconf.h isnt generated unless it already exists. plus, we have
    # no gurentee that any headers are installed on the system...
    [ -f ${ROOT}/usr/include/linux/autoconf.h ] || \
        touch ${S}/include/linux/autoconf.h
Comment 2 Joshua Kinard gentoo-dev 2004-08-30 19:35:39 UTC
All fixed up (for now)