The hard coded -I/usr/include/efivar has been dropped from the Makefile in
commit
000eb0020c02 (Set pkg-config binary as variable) which is part of
v13, so drop the unneeded (misnamed) EFIBOOTMSR_PATCH_HEADER_PATH workaround.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
EFIBOOTMGR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
EFIBOOTMGR_MAKE_ARGS = EFIDIR=buildroot
-define EFIBOOTMSR_PATCH_HEADER_PATH
- $(SED) 's,-I/,-I$(STAGING_DIR)/,' $(@D)/Makefile
-endef
-
-EFIBOOTMGR_POST_PATCH_HOOKS += EFIBOOTMSR_PATCH_HEADER_PATH
-
define EFIBOOTMGR_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
LDFLAGS="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1) -C $(@D) \