[Buildroot] [PATCH 2/5] package: remove scripts listed in <pkg>_CONFIG_SCRIPTS from target
s.martin49 at gmail.com
Thu Feb 7 15:28:18 UTC 2013
2013/2/7 Arnout Vandecappelle <arnout at mind.be>:
> On 07/02/13 00:10, Thomas Petazzoni wrote:
>> The <foo>-config scripts are useless on the target, since they are
>> only needed for development, so we remove them automatically.
>> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Acked-by: "Samuel Martin" <s.martin49 at gmail.com>
>> docs/manual/adding-packages-generic.txt | 11 ++++++++++-
>> package/pkg-generic.mk | 5 +++++
>> 2 files changed, 15 insertions(+), 1 deletion(-)
>> diff --git a/docs/manual/adding-packages-generic.txt
>> index 13d200d..1450907 100644
>> --- a/docs/manual/adding-packages-generic.txt
>> +++ b/docs/manual/adding-packages-generic.txt
>> @@ -90,6 +90,11 @@ The argument to be given to +LIBFOO_CONFIG_SCRIPTS+ is
>> the file name(s)
>> of the shell script(s) needing fixing. All these names are relative to
>> '$(STAGING_DIR)/usr/bin' and if needed multiple names can be given.
>> +In addition, the scripts listed in +LIBFOO_CONFIG_SCRIPTS+ are removed
>> +from +$(TARGET_DIR)/usr/bin+ if they are not needed (i.e, when the
>> +installation of development files on the target has not been selected,
>> +which is the default).
> I wouldn't document deprecated things. So just remove "if they are not
> needed ...".
I tend to agree with Arnout.
More information about the buildroot