Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] simicsfs: new package
Date: Tue, 10 Jun 2014 22:22:44 +0200	[thread overview]
Message-ID: <20140610222244.1bb0858e@free-electrons.com> (raw)
In-Reply-To: <1402412534-24929-1-git-send-email-matthew.weber@rockwellcollins.com>

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

      reply	other threads:[~2014-06-10 20:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10 15:02 [Buildroot] [PATCH 1/1] simicsfs: new package Matt Weber
2014-06-10 20:22 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140610222244.1bb0858e@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox