@@ -2816,6 +2816,7 @@ menu "System tools"
source "package/ftop/Config.in"
source "package/getent/Config.in"
source "package/gkrellm/Config.in"
+ source "package/hexagonMVM/Config.in"
source "package/htop/Config.in"
source "package/ibm-sw-tpm2/Config.in"
source "package/initscripts/Config.in"
new file mode 100644
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_HEXAGONMVM
+ bool "Hexagon MiniVM"
+ depends on BR2_hexagon && BR2_TOOLCHAIN_CLANG_AT_LEAST_19_0
+ help
+ Hexagon VM implementation. This virtual machine can be used
+ to boot linux or other operating systems / programs.
+
+ https://github.com/quic/hexagonMVM
new file mode 100644
@@ -0,0 +1,5 @@
+
+#
+# Locally computed
+sha256 e5e3ba941af491cab37ece5db85eb7422db9dd0d13464ea528dbf2c01c24b5f0 LICENSE
+sha256 a2ad5745e597d8401f696cba27eaaedac4dd43ebe0835f11daf90a8e8c307fa7 0.1.3.tar.gz
new file mode 100644
@@ -0,0 +1,27 @@
+################################################################################
+#
+# Hexagon MiniVM
+#
+################################################################################
+
+HEXAGONMVM_VERSION = 0.1.3
+HEXAGONMVM_SOURCE = $(HEXAGONMVM_VERSION).tar.gz
+HEXAGONMVM_SITE = $(call github,quic,hexagonMVM,v$(HEXAGONMVM_VERSION))
+
+HEXAGONMVM_LICENSE = BSD-3-Clause
+HEXAGONMVM_LICENSE_FILES = LICENSE
+
+HEXAGONMVM_DEPENDENCIES =
+HEXAGONMVM_INSTALL_IMAGES = YES
+
+HEXAGONMVM_CFLAGS=-fno-pie -fno-pic
+
+define HEXAGONMVM_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(HEXAGONMVM_CFLAGS)" -C $(@D) minivm
+endef
+
+define HEXAGONMVM_INSTALL_IMAGES_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(HEXAGONMVM_CFLAGS)" bindir=$(BINARIES_DIR) -C $(@D) install
+endef
+
+$(eval $(generic-package))
MiniVM is a virtual machine used by the Linux kernel for the hexagon architecture. Signed-off-by: Brian Cain <bcain@quicinc.com> --- package/Config.in | 1 + package/hexagonMVM/Config.in | 8 ++++++++ package/hexagonMVM/hexagonMVM.hash | 5 +++++ package/hexagonMVM/hexagonMVM.mk | 27 +++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 package/hexagonMVM/Config.in create mode 100644 package/hexagonMVM/hexagonMVM.hash create mode 100644 package/hexagonMVM/hexagonMVM.mk