diff options
| -rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index bac2d7d414..20877e7735 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
| @@ -63,10 +63,6 @@ BUILD_LDFLAGS = "" | |||
| 63 | CFLAGS_append = " -Wno-error" | 63 | CFLAGS_append = " -Wno-error" |
| 64 | 64 | ||
| 65 | do_configure_prepend() { | 65 | do_configure_prepend() { |
| 66 | # The grub2 configure script uses variables such as TARGET_CFLAGS etc | ||
| 67 | # for its own purposes. Remove the OE versions from the environment to | ||
| 68 | # avoid conflicts. | ||
| 69 | unset TARGET_CPPFLAGS TARGET_CFLAGS TARGET_CXXFLAGS TARGET_LDFLAGS | ||
| 70 | ( cd ${S} | 66 | ( cd ${S} |
| 71 | ${S}/autogen.sh ) | 67 | ${S}/autogen.sh ) |
| 72 | } | 68 | } |
