From: Richard Purdie Date: Tue, 2 Jul 2019 10:30:12 +0000 (+0100) Subject: grub2: Drop unneeded code X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13981 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd85639bf3092491123e8747e44e7b30648c85cf;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git grub2: Drop unneeded code We no longer export these variables into the environment so we no longer need this code. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index bac2d7d4149..20877e77355 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -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 ) }