diff --git a/package/Config.in b/package/Config.in index af463cc..c10cf0f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -7,5 +7,6 @@ menu "Coreboot" source "$BR2_EXTERNAL/package/coreboot/cbfstool/Config.in" source "$BR2_EXTERNAL/package/coreboot/cbmem/Config.in" source "$BR2_EXTERNAL/package/coreboot/ifdtool/Config.in" + source "$BR2_EXTERNAL/package/coreboot/intelmetool/Config.in" source "$BR2_EXTERNAL/package/coreboot/nvramtool/Config.in" endmenu diff --git a/package/coreboot/intelmetool/Config.in b/package/coreboot/intelmetool/Config.in new file mode 100644 index 0000000..7e38de4 --- /dev/null +++ b/package/coreboot/intelmetool/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_INTELMETOOL + bool "intelmetool" + help + intemetool: Tool to check the Intel ME configurations. + + https://github.com/zamaudio/intelmetool diff --git a/package/coreboot/intelmetool/intelmetool.mk b/package/coreboot/intelmetool/intelmetool.mk new file mode 100644 index 0000000..a275cee --- /dev/null +++ b/package/coreboot/intelmetool/intelmetool.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# intelmetool +# +################################################################################ + +INTELMETOOL_VERSION = main +INTELMETOOL_SITE = git://github.com/zamaudio/intelmetool.git +ITELMETOOL_SITE_METHOD = git +INTELMETOOL_LICENSE = GPLv2 + +define INTELMETOOL_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define INTELMETOOL_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/intelmetool $(TARGET_DIR)/usr/sbin/intelmetool +endef + +$(eval $(generic-package)) +