netcat-openbsd: correct subdir for SRC_URI

* Correct subdir to let the second source file
  netcat-openbsd_${PV}-7.debian.tar.gz unpacked
  under the correct folder to avoid below error
  when do_patch in multilib env.
  | DEBUG: Executing python function do_patch
  | DEBUG: Executing shell function netcat_do_patch
  | No patch removed
  | No series file found
  | WARNING: exit code 2 from a shell command.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Mingli Yu 2017-04-28 17:02:21 +08:00 committed by Joe MacDonald
parent c931bc6a7a
commit 7670d9ec32

View File

@ -8,7 +8,7 @@ DEPENDS += "glib-2.0 libbsd"
do_patch[depends] = "quilt-native:do_populate_sysroot"
SRC_URI = "${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}.orig.tar.gz;name=netcat \
${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}-7.debian.tar.gz;name=netcat-patch;subdir=${PN}-${PV} \
${DEBIAN_MIRROR}/main/n/netcat-openbsd/netcat-openbsd_${PV}-7.debian.tar.gz;name=netcat-patch;subdir=${BP} \
file://0001-bundle-own-base64-encode-decode-functions.patch \
"