Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] simicsfs: new package
@ 2014-06-10 15:02 Matt Weber
  2014-06-10 20:22 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Weber @ 2014-06-10 15:02 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
---
 package/Config.in            |    1 +
 package/simicsfs/Config.in   |    5 +++++
 package/simicsfs/simicsfs.mk |   21 +++++++++++++++++++++
 3 files changed, 27 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 8385433..a757286 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -144,6 +144,7 @@ source "package/mmc-utils/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"
diff --git a/package/simicsfs/Config.in b/package/simicsfs/Config.in
new file mode 100644
index 0000000..8ec4e77
--- /dev/null
+++ b/package/simicsfs/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_SIMICSFS
+	bool "simicsfs"
+	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 0000000..c266f68
--- /dev/null
+++ b/package/simicsfs/simicsfs.mk
@@ -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))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] simicsfs: new package
  2014-06-10 15:02 [Buildroot] [PATCH 1/1] simicsfs: new package Matt Weber
@ 2014-06-10 20:22 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-06-10 20:22 UTC (permalink / raw)
  To: buildroot

Dear Matt Weber,

On Tue, 10 Jun 2014 08:02:14 -0700, Matt Weber wrote:

> --- /dev/null
> +++ b/package/simicsfs/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_SIMICSFS
> +	bool "simicsfs"

We need a "depends on BR2_LINUX_KERNEL" here.

> +	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 0000000..c266f68
> --- /dev/null
> +++ b/package/simicsfs/simicsfs.mk
> @@ -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))

Other than that, looks good.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-10 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 15:02 [Buildroot] [PATCH 1/1] simicsfs: new package Matt Weber
2014-06-10 20:22 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox