Results 1 to 8 of 8
hi
is it possible to ignore the pop up screen and provide the options in a script to automate the build process, thanks in advance....
- 02-27-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 13
ignore the pop up screen and provide options in a script
hi
is it possible to ignore the pop up screen and provide the options in a script to automate the build process, thanks in advance.
- 04-16-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,499
Huh? What popup screen? What are you trying to build?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-16-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 13
When you 'make menuconfig' under ~/src/snapgear, the sreen pops up, refer attachment. We are using 'make menuconfig' in the build script as oldconfig is broken in our setup. So we want to ingore this screen and provide the selection in a script so that we can run the build script without manual inputs. Let me know if i am not clear and need more info, thanks.
- 04-16-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,499
Ah, the "friendly" configuration tool. I thought it had an optional command line interface. So, "make configure" doesn't work for you? You could go into scripts/kconfig and edit the mconf source file to take an optional input file argument so could it take its input from that file. You would also have to alter the Makefile in scripts/kconfig to call mconf with your file name if you implement an environment variable that tells it what to do, that would work both ways. Change the mconf call in the make file to use the variable as an argument, such as:
if MCONF_INPUT wasn't defined, then it works like now. If you set that environment variable (export MCONF_INPUT=myconf.txt), then it gets passed to mconf, which you can alter so that if there is an input file name passed, that is processed manually instead of calling the "user-friendly" menu.Code:configure:
mconf $(MCONF_INPUT)Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-17-2009 #5Just Joined!
- Join Date
- Feb 2009
- Posts
- 13
Thanks Rubberman, I will try your recommendation.
fyi...I was able to fix the oldconfig by adding
@chmod u+x config/setconfig
@config/setconfig defaults
to the oldconfig's command in the Makefile
and adding
cp .tmpconfig.h autoconf.h
in the build script.
- 04-17-2009 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,499
I hope that works for you. Let us know.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-17-2009 #7Just Joined!
- Join Date
- Feb 2009
- Posts
- 13
Mine worked. Yet to try yours. Thanks for your time and advise.
- 04-17-2009 #8


Reply With Quote

