From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/51] package/dtc: add option to install programs
Date: Tue, 04 Dec 2012 22:28:23 +0100 [thread overview]
Message-ID: <50BE6AF7.8090101@mind.be> (raw)
In-Reply-To: <201211301738.37463.yann.morin.1998@free.fr>
On 30/11/12 17:38, Yann E. MORIN wrote:
> Arnout, All,
>
> On Thursday 29 November 2012 Arnout Vandecappelle wrote:
>> I (and I think Peter as well) prefer the more verbose
>>
>> ifeq ($(BR2_PACKAGE_DTC_BINARY),y)
>> DTC_INSTALL_RULE = install
>> else
>> DTC_BUILD_RULE = libfdt
>> DTC_INSTALL_RULE = libfdt_install
>> endif
>
> Yes, it's easier to read.
>
>> I would also call it _TARGET instead of _RULE.
>
> Why?
Because it's not a rule. A rule is a line with a colon in the Makefile
that is followed by a command.
But actually target is also not correct - the GNU make manual calls it
a 'goal'. (Never mind that goal and target are synonyms :-) That's why
the variable is called MAKECMDGOALS. So my suggestion to use _TARGET
was in fact wrong as well.
> DTC_INSTALL_TARGET already exists, and is meant to specify if the
> package is to be installed in tharget.
Whaa, overloading! There's actually a DTC_TARGET_INSTALL_TARGET as well,
which contains the name of the make goal to install to the target
directory...
Given that in buildroot the make goals are called targets all the time,
calling it _GOAL here would solve the duplication but reduces consistency.
Unless we change all the current uses of 'target' to 'goal' (which would
resolve some confusion with the target directory, so that would be a good
thing...).
I realize that this is nitpicking, but if we choose a name now we'll
probably be stuck with it for years, so we need to have this discussion
at some point.
>
> OTOH, DTC_INSTALL_RULE (or DTC_INSTALL_MAKERULE, but it's ugly) is more
> explicit: it is the make rule to install the packag
[snip]
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-12-04 21:28 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 23:53 [Buildroot] [PATCH for-next 0/51 v3] Add QEMU for runing on the target Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 01/51] package/cURL: fix static link whith openSSL Yann E. MORIN
2012-12-03 7:21 ` Peter Korsgaard
2012-11-28 23:54 ` [Buildroot] [PATCH 02/51] package/dtc: new package Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 03/51] package/dtc: add option to install programs Yann E. MORIN
2012-11-29 8:40 ` Thomas Petazzoni
2012-12-03 18:10 ` Yann E. MORIN
2012-11-29 15:00 ` Arnout Vandecappelle
2012-11-30 16:38 ` Yann E. MORIN
2012-12-04 21:28 ` Arnout Vandecappelle [this message]
2012-12-04 22:10 ` Yann E. MORIN
2012-12-05 6:30 ` Arnout Vandecappelle
2012-11-28 23:54 ` [Buildroot] [PATCH 04/51] package/vde2: new package Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 05/51] package/libiscsi: " Yann E. MORIN
2012-11-29 8:39 ` Thomas Petazzoni
2012-12-03 18:11 ` Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 06/51] package/usbredir: " Yann E. MORIN
2012-11-29 8:42 ` Thomas Petazzoni
2012-11-29 8:50 ` [Buildroot] Buildroot and ClassPath Alain Mouflet
2012-11-29 13:10 ` Thomas Petazzoni
2012-11-30 16:48 ` [Buildroot] [PATCH 06/51] package/usbredir: new package Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 07/51] package/celt051: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 08/51] package/python-pyparsing: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 09/51] package/spice-protocol: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 10/51] package/cegui06: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 11/51] package/slirp: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 12/51] package/spice: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 13/51] package/spice: enable client Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 14/51] package/spice: enable GUI Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 15/51] package/spice: enable slirp support Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 16/51] package/libseccomp: new package Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 17/51] package/keyutils: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 18/51] package/pmake: add host pmake Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 19/51] package/libbsd: new package Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 20/51] package/libedit2: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 21/51] package/ceph: " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 22/51] package/qemu: add license information Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 23/51] package/qemu: bump version Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 24/51] package/qemu: fix host-qemu variable names Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 25/51] package/qemu: build for the target (i386 or x86_64 only) Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 26/51] package/qemu: add basic target selection Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 27/51] package/qemu: add fine-grained " Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 28/51] package/qemu: add SDL frontends Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 29/51] package/qemu: add option to enable/disable the VNC frontend Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 30/51] package/qemu: add VNC jpeg and png compression Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 31/51] package/qemu: add VNC TLS-encryption Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 32/51] package/qemu: add option to not install blobs Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 33/51] package/qemu: add option to remove unwanted keymaps Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 34/51] package/qemu: add uuid support Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 35/51] package/qemu: add support for capabilities Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 36/51] package/qemu: add attr/xattr option Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 37/51] package/qemu: add support for virtfs Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 38/51] package/qemu: add support for cURL Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 39/51] package/qemu: enable use of the curses frontend Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 40/51] package/qemu: add BlueZ connectivity Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 41/51] package/qemu: add AIO support Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 42/51] package/qemu: add support for FDT Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 43/51] package/qemu: add support for VDE switches Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 44/51] package/qemu: add iSCSI support Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 45/51] package/qemu: add support for USB redirection Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 46/51] package/qemu: add support for Spice Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 47/51] package/qemu: enable sound Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 48/51] package/qemu: add support for libseccomp Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 49/51] package/qemu: option to build the docs Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 50/51] package/qemu: move sub-options into a sub-menu Yann E. MORIN
2012-11-28 23:54 ` [Buildroot] [PATCH 51/51] package/qemu: enable a static build Yann E. MORIN
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=50BE6AF7.8090101@mind.be \
--to=arnout@mind.be \
--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