]> pilppa.org Git - familiar-h63xx-build.git/blobdiff - org.handhelds.familiar/classes/base.bbclass
gnupg: add 1.4.3-2 from Debian.
[familiar-h63xx-build.git] / org.handhelds.familiar / classes / base.bbclass
index 66563f34d379452fecbf251266fcb0b6d4427532..e270ffd7b2d59ba20b05b7db787dea66d29435a6 100644 (file)
@@ -446,6 +446,7 @@ python base_do_patch() {
                bb.build.exec_func("do_patchcleancmd", d)
 
        workdir = bb.data.getVar('WORKDIR', d, 1)
+       i = 0
        for url in src_uri:
 
                (type, host, path, user, pswd, parm) = bb.decodeurl(url)
@@ -479,6 +480,11 @@ python base_do_patch() {
                bb.data.setVarFlag("do_patchcmd", "func", 1, d)
                bb.data.setVarFlag("do_patchcmd", "dirs", "${WORKDIR} ${S}", d)
                bb.build.exec_func("do_patchcmd", d)
+
+               if bb.data.getVar("patch_applied", d):
+                       bb.data.setVar("PATCH_APPLIED_NUM", i, d)
+                       bb.build.exec_func("patch_applied", d)
+               i += 1
 }