diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-03 18:59:35 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-03 18:59:35 +0200 |
commit | 2e2242356f0bc72a56bc52259d497fa143f27e0a (patch) | |
tree | a5db36149ed305f36daeaa0532f8ca010ec97abc /scripts/lib/ptxd_make_world_patchin.sh | |
parent | 3223062eac8b7cba1c816078c174fc2bc77d2bb7 (diff) | |
download | ptxdist-2e2242356f0bc72a56bc52259d497fa143f27e0a.tar.gz ptxdist-2e2242356f0bc72a56bc52259d497fa143f27e0a.tar.xz |
ptxd_make_world_patchin: allow specifying a custom patch directory
If <PKG>_PATCHES is set, then it is used instead of $(<PKG>) to find the
patch directory. It must be a relativ directory name that can be found in
the usual search path.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_patchin.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_patchin.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_world_patchin.sh b/scripts/lib/ptxd_make_world_patchin.sh index e181e1cb8..1e11249e0 100644 --- a/scripts/lib/ptxd_make_world_patchin.sh +++ b/scripts/lib/ptxd_make_world_patchin.sh @@ -479,10 +479,9 @@ ptxd_make_world_patchin_init() "is no longer supported. Move patches to" \ "$(ptxd_print_path "$(dirname "${ptxd_reply}")")" fi - if ! ptxd_in_path PTXDIST_PATH_PATCHES ${pkg_pkg} ; then + if [ -z "${pkg_patch_dir}" ]; then return fi - pkg_patch_dir="${ptxd_reply}" } export -f ptxd_make_world_patchin_init |