]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub2: Drop unneeded code
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Jul 2019 10:30:12 +0000 (11:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Jul 2019 08:09:50 +0000 (09:09 +0100)
We no longer export these variables into the environment so we no longer
need this code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/grub2.inc

index bac2d7d4149de1fed08a4cc967f0c387c3bc1e93..20877e7735559856ee6f7f039d93ecb261385cd5 100644 (file)
@@ -63,10 +63,6 @@ BUILD_LDFLAGS = ""
 CFLAGS_append = " -Wno-error"
 
 do_configure_prepend() {
-       # The grub2 configure script uses variables such as TARGET_CFLAGS etc
-       # for its own purposes. Remove the OE versions from the environment to
-       # avoid conflicts.
-       unset TARGET_CPPFLAGS TARGET_CFLAGS TARGET_CXXFLAGS TARGET_LDFLAGS
        ( cd ${S}
        ${S}/autogen.sh )
 }