Skip to contentSkip to conversation

simicsfs: new package

PATCH New Matt Weber 3 participants 3 messages Jun 11, 2014 – Jun 13, 2014

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH v2 1/1 simicsfs: new package

---

Changes v1 -> v2:
- Added comment if Linux kernel isn't selected (Thomas P)
- Added depend on Linux kernel being selected (Thomas P)

---
 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
package/Config.in +1 -0
index f874eaf..138d674 100644
@@ -151,6 +151,7 @@ source "package/mtd/Config.in"
 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"
package/simicsfs/Config.in new file +11 -0
new file mode 100644
index 0000000..12b05c1
@@ -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
package/simicsfs/simicsfs.mk new file +21 -0
new file mode 100644
index 0000000..c266f68
@@ -0,0 +1,21 @@
+###############################################################################
+#
+# simicsfs
+#
+###############################################################################
+
+SIMICSFS_VERSION = 1.17
+SIMICSFS_SITE = https://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))
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 simicsfs: new package

Dear Matt Weber,

Quoted 6 lines · Matt Weber

---

Changes v1 -> v2:
- Added comment if Linux kernel isn't selected (Thomas P)
- Added depend on Linux kernel being selected (Thomas P)

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 simicsfs: new package

In reply to Matt Weber
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Matt" == Matt Weber <[email protected]> writes:

Committed with the upstream url changed to http as wget complains here about the certificate, thanks:

Quoted 1 line
Quoted 1 line
Quoted 1 line

simicsfs 1.17 Downloading

--2014-06-13 14:27:54-- https://download.simics.net/pub/simicsfs-1.17.tar.gz
Resolving download.simics.net (download.simics.net)... 192.124.127.195 Connecting to download.simics.net (download.simics.net)|192.124.127.195|:4 .. connected.
ERROR: The certificate of ?download.simics.net? is not trusted.
ERROR: The certificate of ?download.simics.net? hasn't got a known issuer.

Signature · 1 line
Bye, Peter Korsgaard