First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 61884
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: mips team <mips@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 61884 depends on: Show dependency tree
Show dependency graph
Bug 61884 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-26 21:12 0000
(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 From SpanKY 2004-08-26 21:16:13 0000 -------
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 From Joshua Kinard 2004-08-30 19:35:39 0000 -------
All fixed up (for now)

First Last Prev Next    No search results available      Search page      Enter new bug