From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] daemon: new package
Date: Mon, 1 May 2017 23:13:40 +0200 [thread overview]
Message-ID: <9da2c9e4-6d5d-a40c-ff1c-3a1f3e5ae4f2@gmail.com> (raw)
In-Reply-To: <a92dc5869d0e5e3868f928293c8d68f2558728ef.1493668995.git.baruch@tkos.co.il>
Hi Baruch,
Le 01/05/2017 ? 22:03, Baruch Siach a ?crit :
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: add target installation (thanks Romain)
You're welcome!
[...]
> diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
> new file mode 100644
> index 000000000000..25ff07ba1ca9
> --- /dev/null
> +++ b/package/daemon/daemon.mk
> @@ -0,0 +1,25 @@
> +################################################################################
> +#
> +# daemon
> +#
> +################################################################################
> +
> +DAEMON_VERSION = 0.6.4
> +DAEMON_SITE = http://libslack.org/daemon/download
> +DAEMON_LICENSE = GPL-2.0+
> +DAEMON_LICENSE_FILES = LICENSE
> +
> +define DAEMON_CONFIGURE_CMDS
> + (cd $(@D); ./config)
> +endef
> +
> +define DAEMON_BUILD_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
> +endef
> +
> +define DAEMON_INSTALL_TARGET_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
> + install-daemon-bin
There is still an issue with install-daemon-bin target... it try to strip the
binary with the strip tool from the host.
This cause a failure:
case "$DEB_BUILD_OPTIONS" in *nostrip*);; *) strip
output/target/usr/bin/daemon;; esac
strip: Unable to recognise the format of the input file ?
output/target/usr/bin/daemon ?
Add DEB_BUILD_OPTIONS="nostrip" in DAEMON_INSTALL_TARGET_CMDS.
Best regards,
Romain
> +endef
> +
> +$(eval $(generic-package))
>
next prev parent reply other threads:[~2017-05-01 21:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-01 20:03 [Buildroot] [PATCH v2] daemon: new package Baruch Siach
2017-05-01 21:13 ` Romain Naour [this message]
2017-05-01 21:28 ` Romain Naour
2017-05-02 5:04 ` Baruch Siach
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=9da2c9e4-6d5d-a40c-ff1c-3a1f3e5ae4f2@gmail.com \
--to=romain.naour@gmail.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