From patchwork Sun Jan 6 15:22:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 209762 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 3BD672C0084 for ; Mon, 7 Jan 2013 02:23:34 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A997C30EF0; Sun, 6 Jan 2013 15:23:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8KE01NiG+piS; Sun, 6 Jan 2013 15:23:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AA7C130E91; Sun, 6 Jan 2013 15:23:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8B5758F753 for ; Sun, 6 Jan 2013 15:23:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 74EEE8B28B for ; Sun, 6 Jan 2013 15:23:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wEaKL3CywH3S for ; Sun, 6 Jan 2013 15:23:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.32.191]) by whitealder.osuosl.org (Postfix) with ESMTP id A8C1A80810 for ; Sun, 6 Jan 2013 15:23:02 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 36EAE161; Sun, 6 Jan 2013 16:23:03 +0100 (CET) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 5DE1110F for ; Sun, 6 Jan 2013 16:23:02 +0100 (CET) From: Thomas Petazzoni To: buildroot@busybox.net Date: Sun, 6 Jan 2013 16:22:42 +0100 Message-Id: <64d52376c8457eb04f41135e9cc0b39a5f0a8c0f.1357485747.git.thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 02/15] docs/manual: update to mention the multiple patches support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net After the modification of the _PATCH semantic, let's update the documentation accordingly. Signed-off-by: Thomas Petazzoni --- docs/manual/adding-packages-generic.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt index 0759d4f..7b8561a 100644 --- a/docs/manual/adding-packages-generic.txt +++ b/docs/manual/adding-packages-generic.txt @@ -156,14 +156,17 @@ information is (assuming the package name is +libfoo+) : +packagename-$(LIBFOO_VERSION).tar.gz+. + Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ -* +LIBFOO_PATCH+ may contain the name of a patch, that will be - downloaded from the same location as the tarball indicated in - +LIBFOO_SOURCE+. If +HOST_LIBFOO_PATCH+ is not specified, it - defaults to +LIBFOO_PATCH+. Note that patches that are included - in Buildroot itself use a different mechanism: all files of the - form +-*.patch+ present in the package directory inside +* +LIBFOO_PATCH+ may contain a space-separated list of patch file + names, that will be downloaded from the same location as the tarball + indicated in +LIBFOO_SOURCE+, and then applied to the package source + code. If +HOST_LIBFOO_PATCH+ is not specified, it defaults to + +LIBFOO_PATCH+. Note that patches that are included in Buildroot + itself use a different mechanism: all files of the form + +-*.patch+ present in the package directory inside Buildroot will be applied to the package after extraction (see - xref:patch-policy[patching a package]). + xref:patch-policy[patching a package]). Finally, patches listed in + the +LIBFOO_PATCH+ variable are applied _before_ the patches stored + in the Buildroot package directory. * +LIBFOO_SITE+ provides the location of the package, which can be a URL or a local filesystem path. HTTP, FTP and SCP are supported URL