summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-02 11:30:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-03 17:00:57 +0100
commit9b9cb54dd82232a51f72db1ed4dbf732642fc6e3 (patch)
tree1c359880cdf0b6c4589961c371fec8b3839c049d /meta/recipes-bsp
parent17268ae8413ea3f87eeaa5d96f9ec3674dcc8cd0 (diff)
downloadpoky-9b9cb54dd82232a51f72db1ed4dbf732642fc6e3.tar.gz
grub2: Drop unneeded code
We no longer export these variables into the environment so we no longer need this code. (From OE-Core rev: fd85639bf3092491123e8747e44e7b30648c85cf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc4
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 = ""
63CFLAGS_append = " -Wno-error" 63CFLAGS_append = " -Wno-error"
64 64
65do_configure_prepend() { 65do_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}