From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] libcofi: new package
Date: Sun, 6 Jan 2013 21:26:55 +0100 [thread overview]
Message-ID: <20130106212655.78c04f0d@skate> (raw)
In-Reply-To: <323f2db72c57aff2b31b2b7a5eb7f06d74775eda.1357426077.git.maxime.hadjinlian@gmail.com>
Dear Maxime Hadjinlian,
On Sat, 5 Jan 2013 23:55:14 +0100, Maxime Hadjinlian wrote:
> diff --git a/package/libcofi/libcofi.mk b/package/libcofi/libcofi.mk
> new file mode 100644
> index 0000000..4872d1c
> --- /dev/null
> +++ b/package/libcofi/libcofi.mk
> @@ -0,0 +1,17 @@
> +#############################################################
> +#
> +# libcofi
> +#
> +#############################################################
> +LIBCOFI_VERSION = 7313fbe12b0593034d0a1b606bf33c7cf4ababce
One new line between the first variable line and the #### line.
> +LIBCOFI_SITE = http://github.com/simonjhall/copies-and-fills/tarball/master
LIBCOFI_LICENSE ?
> +define LIBCOFI_BUILD_CMDS
> + $(MAKE1) AS="$(TARGET_AS)" CC="$(TARGET_CC)" -C $(@D) libcofi_rpi.so
> +endef
Seeing the Makefile, I don't see any obvious dependency problem, so I
guess you could use $(MAKE) instead of $(MAKE1).
Also, please use $(TARGET_CONFIGURE_OPTS). And you don't need to
specify the libcofi_rpi.so target since this is the first target of the
Makefile (and hence the default one). So:
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
> +define LIBCOFI_INSTALL_TARGET_CMDS
> + $(INSTALL) -D -m 0755 $(@D)/libcofi_rpi.so* $(TARGET_DIR)/usr/lib
> +endef
Only libcofi_rpi.so is built, so:
$(INSTALL) -D -m 0755 $(@D)/libcofi_rpi.so $(TARGET_DIR)/usr/lib/libcofi_rpi.so
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-01-06 20:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-05 22:55 [Buildroot] [pull request] Pull request for branch rpi-support Maxime Hadjinlian
2013-01-05 22:55 ` [Buildroot] [PATCH 1/3] libcofi: new package Maxime Hadjinlian
2013-01-06 20:26 ` Thomas Petazzoni [this message]
2013-01-06 20:39 ` Maxime Hadjinlian
2013-01-06 20:45 ` Thomas Petazzoni
2013-01-05 22:55 ` [Buildroot] [PATCH 2/3] rpi-userland: " Maxime Hadjinlian
2013-01-05 22:55 ` [Buildroot] [PATCH 3/3] rpi-firmware: New package Maxime Hadjinlian
2013-01-05 23:05 ` Alex Bradbury
2013-01-05 23:17 ` Maxime Hadjinlian
-- strict thread matches above, loose matches on Subject: below --
2013-01-06 20:56 [Buildroot] [pull request] Pull request for branch rpi-support Maxime Hadjinlian
2013-01-06 20:56 ` [Buildroot] [PATCH 1/3] libcofi: new package Maxime Hadjinlian
2013-01-06 21:02 ` Peter Korsgaard
2013-01-06 21:13 ` Maxime Hadjinlian
2013-01-06 21:18 ` Peter Korsgaard
2013-01-06 21:21 ` Maxime Hadjinlian
2013-01-06 22:02 ` Peter Korsgaard
2013-01-05 14:10 [Buildroot] [pull request] Pull request for branch rpi-support Maxime Hadjinlian
2013-01-05 14:10 ` [Buildroot] [PATCH 1/3] libcofi: new package Maxime Hadjinlian
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=20130106212655.78c04f0d@skate \
--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