[Buildroot] [PATCH 1/1] simicsfs: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jun 10 20:22:44 UTC 2014


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



More information about the buildroot mailing list