| Summary: | Grub fails to build with External Toolchain | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Clark Rawlins <clark.rawlins> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | Keywords: | patch |
| Version: | unspecified | ||
| Target Milestone: | 2010.05 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | i686-nptl-linux-gnu | |
| Build: | x86_64 | ||
| Attachments: | Fix external toolchain build error for grub and migrate grub to the autotools macro | ||
The grub.mk file has been completely rewritten during the bootloaders-cleanup work, and here Grub compiles properly with an external toolchain. |
Created attachment 979 [details] Fix external toolchain build error for grub and migrate grub to the autotools macro When building grub with an external toolchain I get the following failure. make[1]: Entering directory `/home/clark/src/br-upstream/output/build/grub-0.97/grub' /opt/x-tools/i686-nptl-linux-gnu/bin/i686-nptl-linux-gnu-gcc -static -o grub main.o asmstub.o ../stage2/libgrub.a ../lib/libcommon.a -lncurses /opt/x-tools/i686-nptl-linux-gnu/lib/gcc/i686-nptl-linux-gnu/4.3.2/../../../../i686-nptl-linux-gnu/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status make[1]: *** [grub] Error 1 make[1]: Leaving directory `/home/clark/src/br-upstream/output/build/grub-0.97/grub' make: *** [/home/clark/src/br-upstream/output/build/grub-0.97/grub/grub] Error 2