summaryrefslogtreecommitdiffstats
path: root/package/simicsfs
diff options
context:
space:
mode:
authorMatt Weber <matthew.weber@rockwellcollins.com>2014-06-10 19:19:44 -0700
committerPeter Korsgaard <peter@korsgaard.com>2014-06-13 14:38:50 +0200
commit7e867725acf2f5aedca60985ee530d1530792f78 (patch)
treee11f6d68c1177b8a3a1ca55a568e05341098bb1e /package/simicsfs
parentcd18e2acee9d492c2debfd8fb4573e2407b71795 (diff)
simicsfs: new package
[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>
Diffstat (limited to 'package/simicsfs')
-rw-r--r--package/simicsfs/Config.in11
-rw-r--r--package/simicsfs/simicsfs.mk21
2 files changed, 32 insertions, 0 deletions
diff --git a/package/simicsfs/Config.in b/package/simicsfs/Config.in
new file mode 100644
index 000000000..12b05c17d
--- /dev/null
+++ b/package/simicsfs/Config.in
@@ -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
index 000000000..425f00038
--- /dev/null
+++ b/package/simicsfs/simicsfs.mk
@@ -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))