buildrootschalter/docs/manual
Simon Dawson 5538e47662 rework patch model
At the Buildroot Developers Meeting (4-5 February 2013, in Brussels) a change
to the patch logic was discussed. See

http://elinux.org/Buildroot:DeveloperDaysFOSDEM2013

for details. In summary:

* For patches stored in the package directory, if
  package/<pkg>/<version>/ does exist, apply package/<pkg>/<version>/*.patch,
  otherwise, apply package/<pkg>/*.patch
* For patches stored in the global patches directory, if
  $(GLOBAL_PATCH_DIR)/<pkg>/<version>/ does exist, apply
  $(GLOBAL_PATCH_DIR)/<pkg>/<version>/*.patch, otherwise, apply
  $(GLOBAL_PATCH_DIR)/<pkg>/*.patch

This patch adds the new BR2_GLOBAL_PATCH_DIR configuration item, and reworks
the generic package infrastructure to implement the new patch logic.

[Peter: fixup doc nits as pointed out by Thomas]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-19 23:10:49 +01:00
..
adding-packages-autotools.txt Manual: add empty line after header in .mk files 2013-02-28 22:37:58 +01:00
adding-packages-cmake.txt Manual: add empty line after header in .mk files 2013-02-28 22:37:58 +01:00
adding-packages-conclusion.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
adding-packages-directory.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
adding-packages-generic.txt Manual: add empty line after header in .mk files 2013-02-28 22:37:58 +01:00
adding-packages-gettext.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
adding-packages-tips.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
adding-packages.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
advanced.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
appendix.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
beyond-buildroot.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
ccache-support.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
common-usage.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
configure.txt manual: fix cross-refs 2013-02-28 22:02:53 +01:00
contribute.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
customize-busybox-config.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
customize-kernel-config.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
customize-packages.txt rework patch model 2013-03-19 23:10:49 +01:00
customize-rootfs.txt manual: misc. post-{build, image} scripts fixes 2013-02-28 22:37:44 +01:00
customize-store.txt manual: fix cross-refs 2013-02-28 22:02:53 +01:00
customize-toolchain.txt manual: fix cross-refs 2013-02-28 22:02:53 +01:00
customize-uclibc-config.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
customize.txt rework patch model 2013-03-19 23:10:49 +01:00
deprecated-list.txt manual: add deprecated-list.txt 2012-11-15 23:59:55 +01:00
developer-guide.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
download-infra.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
download-location.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
eclipse-integration.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
faq-troubleshooting.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
get-involved.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
getting.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
going-further.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
how-buildroot-works.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
introduction.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
legal-notice.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
make-tips.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
makedev-syntax.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
manual.mk manual: sprinkle with some calls to MESSAGE 2013-02-17 22:51:03 +01:00
manual.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
package-make-target.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
patch-policy.txt rework patch model 2013-03-19 23:10:49 +01:00
pkg-list.txt manual: add pkg-list.txt (generated list of available packages) 2012-11-15 23:59:55 +01:00
prerequisite.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
rebuilding-packages.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
starting-up.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
using-buildroot-toolchain.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
using.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00
working-with.txt working-with: board support 2013-02-28 22:37:49 +01:00
writing-rules.txt manual: cleanup and update editor tags 2013-02-17 22:50:04 +01:00