From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 08/15] package: remove useless arguments from AUTOTARGETS
Date: Sat, 17 Sep 2011 08:36:17 +0200 [thread overview]
Message-ID: <87vcsrwu8u.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <4c5d5efafbb287dcf231d5abed7ab0095ee6f94c.1314826231.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Wed, 31 Aug 2011 23:31:16 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Thanks to the pkgdir and pkgname functions, we can rewrite the
Thomas> AUTOTARGETS macro in a way that avoids the need for each package to
Thomas> repeat its name and the directory in which it is present.
Thomas> diff --git a/package/fuse/libfuse.mk b/package/fuse/libfuse.mk
Thomas> index 13a5194..6c71682 100644
Thomas> --- a/package/fuse/libfuse.mk
Thomas> +++ b/package/fuse/libfuse.mk
Thomas> @@ -27,4 +27,4 @@ define LIBFUSE_CLEAN_CMDS
Thomas> rm -f $(TARGET_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/lib/libfuse.so*
Thomas> endef
Thomas> -$(eval $(call AUTOTARGETS,package,libfuse))
Thomas> +$(eval $(call AUTOTARGETS))
Does those functions do the right thing here or do we need to rename the
directory to libfuse?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2011-09-17 6:36 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 21:31 [Buildroot] [pull request v2] Pull request for branch for-2011.11/pkg-infra Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 01/15] package: show complete URL for external-deps Thomas Petazzoni
2011-09-17 6:31 ` Peter Korsgaard
2011-09-17 7:13 ` Thomas Petazzoni
2011-09-17 8:53 ` Peter Korsgaard
2011-08-31 21:31 ` [Buildroot] [PATCH 02/15] package: enhance infrastructure to support source dir override Thomas Petazzoni
2011-09-02 10:02 ` Arnout Vandecappelle
2011-09-02 11:21 ` Thomas Petazzoni
2011-09-02 11:45 ` Arnout Vandecappelle
2011-08-31 21:31 ` [Buildroot] [PATCH 03/15] package: add configuration option to specify a local override file Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 04/15] package: add <pkg>-rebuild and <pkg>-reconfigure Thomas Petazzoni
2011-11-04 9:44 ` Stephan Hoffmann
2011-11-27 17:49 ` Stephan Hoffmann
2011-11-28 8:12 ` Thomas Petazzoni
2011-11-28 8:46 ` Stephan Hoffmann
2011-11-28 11:10 ` Quotient Remainder
2011-11-28 12:06 ` Thomas Petazzoni
2012-04-06 16:44 ` [Buildroot] [PATCH] Add documentation for " Stephan Hoffmann
2012-04-07 17:45 ` Peter Korsgaard
2011-08-31 21:31 ` [Buildroot] [PATCH 05/15] package: implement a 'local' site method Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 06/15] package: add helper functions to get package name and directory magically Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 07/15] package: remove useless arguments from GENTARGETS Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 08/15] package: remove useless arguments from AUTOTARGETS Thomas Petazzoni
2011-09-17 6:36 ` Peter Korsgaard [this message]
2011-09-17 7:11 ` Thomas Petazzoni
2011-09-17 8:07 ` Peter Korsgaard
2011-09-22 6:06 ` Arnout Vandecappelle
2011-08-31 21:31 ` [Buildroot] [PATCH 09/15] package: remove useless arguments from CMAKETARGETS Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 10/15] Makefile.package.in: Pass non-prefixed name as argument to GENTARGETS_INNER Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 11/15] Add support for local packages through 'file://' pseudo-protocol Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 12/15] fakeroot: remove target package Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 13/15] dhrystone: use the <pkg>_EXTRACT_CMDS mechanism Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 14/15] whetstone: " Thomas Petazzoni
2011-08-31 21:31 ` [Buildroot] [PATCH 15/15] mcookie: convert to the GENTARGETS infrastructure Thomas Petazzoni
2011-09-05 12:46 ` [Buildroot] [pull request v2] Pull request for branch for-2011.11/pkg-infra Luca Ceresoli
2011-09-05 13:02 ` Thomas Petazzoni
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=87vcsrwu8u.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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