Skip to contentSkip to conversation

: [PATCH] Updated nios2 support for buildroot

Buildroot bugs at busybox.net 1 participant 1 message Nov 14, 2007

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1580
======================================================================

Reported By:                atle
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1580
Category:                   Architecture Specific
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-08-2007 05:06 PST
Last Modified:              11-14-2007 02:27 PST

======================================================================
Summary: [PATCH] Updated nios2 support for buildroot
Description:
The attached patches fixes toolchain build for nios2 with the recent buildroot, and adds some new features:

* Support for c++
* Support for using 2.6.23 kernel headers

======================================================================

----------------------------------------------------------------------
atle - 11-08-07 05:30
----------------------------------------------------------------------
The uClibc build insists on installing ldd/ldconfig even though they are not built. Suggested solution attached (uclibc-hostutils-install.diff).

----------------------------------------------------------------------
vanokuten - 11-14-07 02:27
----------------------------------------------------------------------
I applied your patch: uclibc-hostutils-install.diff and made a test for avr32 arch - as result I got this:
---------
make[1]: Leaving directory `/opt/buildroot/build_avr32/genext2fs-1.4' touch -c /opt/buildroot/build_avr32/genext2fs-1.4/genext2fs test -x /opt/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-ldconfig && /opt/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-ldconfig -r /opt/buildroot/project_build_avr32/atstk1002/root 2>/dev/null
make: *** [/opt/buildroot/binaries/atstk1002/rootfs.avr32-20071114.ext2] Error 1
---------

seems your skip of ldconfig applied unconditionally.

Issue History
Date Modified Username Field Change
======================================================================

11-08-07 05:06  atle           New Issue                                    
11-08-07 05:06  atle           Status                   new => assigned     
11-08-07 05:06  atle           Assigned To               => buildroot       
11-08-07 05:06  atle           File Added: binutils-nios2.diff.gz               

11-08-07 05:07 atle File Added: elf2flt-nios2.diff.gz

11-08-07 05:07  atle           File Added: gcc-nios2.diff.gz                    
11-08-07 05:07  atle           File Added: kernel-headers-nios2.diff.gz         
11-08-07 05:12  atle           Note Added: 0002897                          
11-08-07 05:14  atle           Note Edited: 0002897                         
11-08-07 05:27  atle           File Added: uclibc-hostutils-install.diff        
11-08-07 05:29  atle           Note Added: 0002898                          
11-08-07 05:30  atle           Note Edited: 0002898                         
11-09-07 05:55  atle           Note Deleted: 0002897                        
11-14-07 02:27  vanokuten      Note Added: 0002914                          

======================================================================