Fixed building of ifdtool and nvramtool

pull/5/head
xSmurf 9 years ago
parent 8634a7d84e
commit d31d55cd3a

@ -10,10 +10,9 @@ IFDTOOL_SITE_METHOD = local
IFDTOOL_LICENSE = GPLv2
IFDTOOL_LICENSE_FILES = COPYING
IFDTOOL_CFLAGS = $(TARGET_CFLAGS) -I$(@D)
IFDTOOL_CXXFLAGS = $(TARGET_CXXFLAGS) -I$(@D)
define IFDTOOL_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) HOSTCC="$(TARGET_CC)" CXXFLAGS="$(IFDTOOL_CXXFLAGS)" CFLAGS="$(IFDTOOL_CFLAGS)" -C $(@D)
$(TARGET_CONFIGURE_OPTS) $(TARGET_CC) $(@D)/ifdtool.c $(IFDTOOL_CFLAGS) -o $(@D)/ifdtool
endef
define IFDTOOL_INSTALL_TARGET_CMDS

@ -13,7 +13,7 @@ NVRAMTOOL_CFLAGS = $(TARGET_CFLAGS) -I$(@D)
NVRAMTOOL_CXXFLAGS = $(TARGET_CXXFLAGS) -I$(@D)
define NVRAMTOOL_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) HOSTCC="$(TARGET_CC)" CXXFLAGS="$(NVRAMTOOL_CXXFLAGS)" CFLAGS="$(NVRAMTOOL_CFLAGS)" -C $(@D)
$(MAKE) $(TARGET_CONFIGURE_OPTS) HOSTCC="$(TARGET_CC)" CXXFLAGS="$(NVRAMTOOL_CXXFLAGS)" CFLAGS="$(NVRAMTOOL_CFLAGS)" -C $(@D) nvramtool
endef
define NVRAMTOOL_INSTALL_TARGET_CMDS

Loading…
Cancel
Save