| Anonymous | Login | Signup for a new account | 11-10-2008 11:00 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 | ||||
| 0000798 | [BusyBox] Other | minor | always | 03-24-06 12:49 | 06-11-06 10:53 | ||||
| Reporter | thraxisp | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.00 | ||||||
| Summary | 0000798: mkconfig doesn't properly transfer integer settings from uClinux .config | ||||||||
| Description | mkconfig ignores (and drops) settings in the uClinux user .config file that are not of the form PARAMETER=y. Integers for things like CONFIG_USER_BUSYBOX_COMMAND_HISTORY are ignored. | ||||||||
| Additional Information |
The reworked script is here: #!/bin/sh # # mkconfig -- convert from uClinux/dist config to local .config # # For now we just convert the existing old style configs from the # uClinux-dist setup to new style .config for busybox. Eventually # I want to switch to new style configs in uClinux-dist and then # just include the Kconfig/config.in files here directly. # TMP=.config$$.tmp NEW=.config$$.new cp defconfig $NEW grep CONFIG_USER_BUSYBOX_ ../../config/.config | grep -v "^# " | sed -e 's/^CONFIG_USER_BUSYBOX_//g;s/=y//g' -e 's/TRUE_FALSE/TRUE^FALSE/' | tr "^" "\n" | grep -v '^BUSYBOX' | while read OPNAME do cp $NEW $TMP awk -v CNAME=CONFIG_$OPNAME -v FNAME=CONFIG_FEATURE_$OPNAME \ 'BEGIN { copt = split(CNAME, CNA, "="); cpat=CNA[1]"[ =]"; fopt = split(FNAME, FNA, "="); fpat=FNA[1]"[ =]"; } { if ($0 ~ cpat) { if (copt>1) print CNAME else printf "%s=y\n", CNA[1] } else { if ($0 ~ fpat) { if (fopt>1) print FNAME else printf "%s=y\n", FNA[1] } else { print $0 } } }' < $TMP > $NEW done cat $NEW rm -f $NEW $TMP exit 0 |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0001417) bernhardf 06-11-06 10:53 |
There is no such script on trunk anymore. Please submit a patch if you need this functionality, TIA. Closing for now. |
| Copyright © 2000 - 2006 Mantis Group |