[Buildroot] [PATCH] Add support for custom package patches
Simon Dawson
spdawson at gmail.com
Wed Oct 31 07:43:54 UTC 2012
On 30 October 2012 21:43, Arnout Vandecappelle <arnout at mind.be> wrote:
> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> but some potential improvements below.
Hi Arnout. Thanks for the feedback.
>> +config BR2_CUSTOM_PACKAGE_PATCH_DIRS
>> + string "custom package patch directories"
>
>
> I would call it extra patch dirs, otherwise it sounds like it's overriding
> the BR patch set.
Yes, agreed.
> For the custom patch dirs, we may also want to support the
> $(1)/$(RAWNAME)/*.patch pattern. So that would give:
>
> elif test -d $(1)/$(RAWNAME); then \
> support/scripts/apply-patches.sh $(@D) $(1)/$(RAWNAME)
> \*.patch \*.patch.$(ARCH) || exit 1; \
Yes, good idea.
I'll fix my patch, and resubmit.
Simon.
More information about the buildroot
mailing list