From 7e867725acf2f5aedca60985ee530d1530792f78 Mon Sep 17 00:00:00 2001 From: Matt Weber Date: Tue, 10 Jun 2014 19:19:44 -0700 Subject: [PATCH] simicsfs: new package [Peter: use http url as wget complains about certificate] Signed-off-by: Matt Weber Reviewed-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/simicsfs/Config.in | 11 +++++++++++ package/simicsfs/simicsfs.mk | 21 +++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 package/simicsfs/Config.in create mode 100644 package/simicsfs/simicsfs.mk diff --git a/package/Config.in b/package/Config.in index 35e088dd8d..88705f8054 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..12b05c17de --- /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 0000000000..425f000380 --- /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)) -- 2.30.2