simicsfs: new package
authorMatt Weber <matthew.weber@rockwellcollins.com>
Wed, 11 Jun 2014 02:19:44 +0000 (19:19 -0700)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Jun 2014 12:38:50 +0000 (14:38 +0200)
[Peter: use http url as wget complains about certificate]
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/simicsfs/Config.in [new file with mode: 0644]
package/simicsfs/simicsfs.mk [new file with mode: 0644]

index 35e088dd8da380b75c0cf71a04a8e1278f43cf44..88705f80541ed4841c027c6c19011a64c2f4e0f3 100644 (file)
@@ -151,6 +151,7 @@ menu "Filesystem and flash utilities"
        source "package/mtools/Config.in"
        source "package/nfs-utils/Config.in"
        source "package/ntfs-3g/Config.in"
+       source "package/simicsfs/Config.in"
        source "package/squashfs/Config.in"
        source "package/sshfs/Config.in"
        source "package/sunxi-tools/Config.in"
diff --git a/package/simicsfs/Config.in b/package/simicsfs/Config.in
new file mode 100644 (file)
index 0000000..12b05c1
--- /dev/null
@@ -0,0 +1,11 @@
+comment "simicsfs needs a Linux kernel to be built"
+       depends on !BR2_LINUX_KERNEL
+
+config BR2_PACKAGE_SIMICSFS
+       bool "simicsfs"
+       depends on BR2_LINUX_KERNEL
+       help
+         A kernel driver that provides access to a host computer's local
+         filesystem when the target is executing within a SIMICS simulation.
+
+         http://www.cs.sfu.ca/~fedorova/Tech/simics-guides-3.0.26/simics-user-guide-unix/topic33.html
diff --git a/package/simicsfs/simicsfs.mk b/package/simicsfs/simicsfs.mk
new file mode 100644 (file)
index 0000000..425f000
--- /dev/null
@@ -0,0 +1,21 @@
+###############################################################################
+#
+# simicsfs
+#
+###############################################################################
+
+SIMICSFS_VERSION = 1.17
+SIMICSFS_SITE = http://download.simics.net/pub/
+SIMICSFS_LICENSE = GPLv2+
+SIMICSFS_LICENSE_FILES = hostfs.h
+SIMICSFS_DEPENDENCIES = linux
+
+define SIMICSFS_BUILD_CMDS
+        $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D) modules
+endef
+
+define SIMICSFS_INSTALL_TARGET_CMDS
+        $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D) INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
+endef
+
+$(eval $(generic-package))