Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/simh: new package
Date: Tue, 16 Aug 2016 12:52:38 +0200	[thread overview]
Message-ID: <20160816105238.GA10734@free.fr> (raw)
In-Reply-To: <1471297357-11637-1-git-send-email-lothar.felten@gmail.com>

Lothar, All,

On 2016-08-15 23:42 +0200, Lothar Felten spake thusly:
> This package provides the simh multi-system emulator.

As discussed on IRC, there are too many issues with this package.

For example, it does not support cross-compilation at all; its Makefile
is so borked that it looks for build system libs and headers; it also
searches the build system for necessary programs.

I can't see an easy solution to use that package as-is to make it
behave properly (if at all). It does not seem it would be overly complex
to rewrite a buildsystem for it from scratch, using one of the usual
buildsystems: autotools or cmake for example.

Until then, and according to our discussion on IRC I've marked this
patch as rejected in our patchwork.

Thanks!

Regards,
Yann E. MORIN.

> Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
> ---
>  package/Config.in      |  1 +
>  package/simh/Config.in |  6 ++++++
>  package/simh/simh.hash |  2 ++
>  package/simh/simh.mk   | 21 +++++++++++++++++++++
>  4 files changed, 30 insertions(+)
>  create mode 100644 package/simh/Config.in
>  create mode 100644 package/simh/simh.hash
>  create mode 100644 package/simh/simh.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 645fa29..993b446 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -219,6 +219,7 @@ menu "Games"
>  	source "package/opentyrian-data/Config.in"
>  	source "package/prboom/Config.in"
>  	source "package/rubix/Config.in"
> +	source "package/simh/Config.in"
>  	source "package/sl/Config.in"
>  	source "package/stella/Config.in"
>  	source "package/supertuxkart/Config.in"
> diff --git a/package/simh/Config.in b/package/simh/Config.in
> new file mode 100644
> index 0000000..bcf6a3d
> --- /dev/null
> +++ b/package/simh/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_SIMH
> +	bool "simh"
> +	help
> +	  SIMH is a highly portable, multi-system simulator.
> +
> +	  http://simh.trailing-edge.com
> diff --git a/package/simh/simh.hash b/package/simh/simh.hash
> new file mode 100644
> index 0000000..b9fd211
> --- /dev/null
> +++ b/package/simh/simh.hash
> @@ -0,0 +1,2 @@
> +# Locally computed:
> +sha256 fd960602a3996b387066e9458e22d3bea940e88378afddc6ee81f33bf854efb9 simh-e93b55b4887dfcf1d0dd6ff86f94470e42a10702.tar.gz
> diff --git a/package/simh/simh.mk b/package/simh/simh.mk
> new file mode 100644
> index 0000000..f650c69
> --- /dev/null
> +++ b/package/simh/simh.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# simh
> +#
> +################################################################################
> +
> +SIMH_VERSION = e93b55b4887dfcf1d0dd6ff86f94470e42a10702
> +SIMH_SITE = https://github.com/simh/simh
> +SIMH_SITE_METHOD = git
> +SIMH_LICENSE = simh license
> +SIMH_LICENSE_FILES = README
> +
> +define SIMH_BUILD_CMDS
> +	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
> +endef
> +
> +define SIMH_INSTALL_TARGET_CMDS
> +	cp -dpf $(@D)/BIN/* $(TARGET_DIR)/usr/bin/
> +endef
> +
> +$(eval $(generic-package))
> -- 
> 1.9.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      parent reply	other threads:[~2016-08-16 10:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-15 21:42 [Buildroot] [PATCH 1/1] package/simh: new package Lothar Felten
2016-08-16  3:50 ` Baruch Siach
2016-08-16  8:31   ` Lothar Felten
2016-08-16 14:29     ` Baruch Siach
2016-08-16 19:42       ` Yann E. MORIN
2016-08-18 19:27         ` Thomas Petazzoni
2016-08-18 19:53           ` Yann E. MORIN
2016-08-16 10:52 ` Yann E. MORIN [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=20160816105238.GA10734@free.fr \
    --to=yann.morin.1998@free.fr \
    --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