| Anonymous | Login | Signup for a new account | 11-10-2008 11:16 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0001410 | [buildroot] Architecture Specific | major | always | 06-29-07 04:18 | 07-07-07 17:33 | |||||||
| Reporter | bjdooks | View Status | public | |||||||||
| Assigned To | buildroot | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | 0.9.27 | |||||||||
| Summary | 0001410: uclibc.mk produces .config that confuses uclibc's configuration system | |||||||||||
| Description |
If building for ARM, and providing an configuration from a file in a target sub-directory, the uclibc.mk file incorrectly re-writes the .config for building uclibc, causing warnings and an incorrect .config The problem stems from unsetting CONFIG_<x> options, then re-specifying them as CONFIG_<x>=y later in the file. The current configuration system (make oldconfig) seems to take the first occurence as the proper setting. This means that options that should be set end up being unset as 'make oldconfig' removes any further refrences to CONFIG_<x> from the file. For example, if you specify the buildroot config as CONFIG_ARM920T=y, then the uclibc.mk removes that turning it into # CONFIG_ARM920T is unset and then adds CONFIG_ARM920T=y to the end of the file. Then 'make oldconfig' is run, and CONFIG_ARM920T=y is deleted, thus causing CONFIG_GENERIC_ARM=y to be placed in the config file. The warnings produced by 'make oldconfig' are: config:209:warning: trying to reassign symbol CONFIG_ARM920T .config:210:warning: trying to reassign symbol CONFIG_ARM_OABI .config:211:warning: trying to reassign symbol CONFIG_ARM_EABI Also note, that the EABI/OABI are also being warned about, so are also fixed. The simple fix is to change the sed expressions unsetting these options to simply deleting them from the file. |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
| Copyright © 2000 - 2006 Mantis Group |