Skip to contentSkip to conversation

grub2: Drop unneeded code

PATCH New Richard Purdie 1 participant 1 message Jul 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grub2: Drop unneeded code

We no longer export these variables into the environment so we no longer need this code.

---
 meta/recipes-bsp/grub/grub2.inc | 4 ----
 1 file changed, 4 deletions(-)
meta/recipes-bsp/grub/grub2.inc +0 -4
index bac2d7d4149..20877e77355 100644
@@ -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 )
 }
Signature · 1 line
2.20.1