- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear all,
when i finish the make linux Image and download it to the target board successfully .I want to reconfig kernal ,when re-run "make menuconfig" command then the following information emerged: /home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/Makefile:698: warning: overriding commands for target `arch/nios2nommu/kernel/vmlinux.lds.S' /home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/Makefile:519: warning: ignoring old commands for target `arch/nios2nommu/kernel/vmlinux.lds.S' /home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/Makefile:702: warning: overriding commands for target `linuxsrec' /home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/Makefile:523: warning: ignoring old commands for target `linuxsrec' /home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/Makefile:707: warning: overriding commands for target `zImage' /home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/Makefile:528: warning: ignoring old commands for target `zImage' scripts/kconfig/mconf arch/nios2nommu/Kconfig file init/Kconfig already scanned? make[3]: *** [menuconfig] Error 1 make[2]: *** [menuconfig] Error 2 make[2]: Leaving directory `/home/wangzhiwunpu/uClinux-dist-test/linux-2.6.x' make[1]: *** [linux_menuconfig] Error 2 make[1]: Leaving directory `/home/wangzhiwunpu/uClinux-dist-test' make: *** [menuconfig] Error 2 [wangzhiwunpu@localhost uClinux-dist-test]$Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like the Nios2 Makefile was patched multiple times.
You should do the nios2 patch only once. Try rename the old uCLinux-dist-test tree, and create a new one . Then compare what is changed in Nios2 Makefile. If you want to config kernel, you should be in ~/uCLinux-dist-test dir, and make menuconfig Kernel/Library/Defaults Selection ---> (linux-2.6.x) Kernel Version (None) Libc Version [ ] Default all settings (lose changes) [*] Customize Kernel Settings [ ] Customize Vendor/User Settings [ ] Update Default Vendor Settings Then <exit> <exit> <yes> . It will enter kernel config. And after you finish kernel config, make linux image
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page