This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to Run menuconfig While Preserving Existing .config Options

Context: OMAPL-138 experimenter's kit, SDVK 4

How can I run menuconfig and change an option in the .config file while preserving all other options? 

I run $DVSDK> make linux

This builds a good .config file for the ARM system.  Next, I want to adjust just one option (I changed the LOGO option, but it is irrelevant which one is modified). I do this by running $DVSDK/psp/linux2.6xxxxx/> make menuconfig 

I change an option and save. My expectation is that the old .config will be used and that ONLY the mods I make will be written to the file. However, this is not what happens. The new .config file is COMPLETELY different. It ends up being for an x86 system. What am I doing wrong here?  Any help will be greatly appreciated.

Regards,

      Scott

 

  • hi,

     It seems as though you have not included the architecture and cross compiler options while  creating the config file and also menuconfig.

      Look at this example:-

              make clean distclean

              make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- davinci_all_defconfig

             make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig

    This is how you  have to mention the architecture and cross compiler options.

    Can also refer to this,

    For detailed info to build for omap on hawkboard.

             http://elinux.org/Hawkboard#Building_.26_Booting_Uboot_images_from_source

     

    Regards,

    Kirti