summaryrefslogtreecommitdiffstats
path: root/meta/classes/libc-package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-rw-r--r--meta/classes/libc-package.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index cf0d8901e3..34c9151ae9 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -348,11 +348,14 @@ python package_do_split_gconvs () {
348 makefile = oe.path.join(d.getVar("WORKDIR"), "locale-tree", "Makefile") 348 makefile = oe.path.join(d.getVar("WORKDIR"), "locale-tree", "Makefile")
349 m = open(makefile, "w") 349 m = open(makefile, "w")
350 m.write("all: %s\n\n" % " ".join(commands.keys())) 350 m.write("all: %s\n\n" % " ".join(commands.keys()))
351 for cmd in commands: 351 total = len(commands)
352 for i, cmd in enumerate(commands):
352 m.write(cmd + ":\n") 353 m.write(cmd + ":\n")
354 m.write("\t@echo 'Progress %d/%d'\n" % (i, total))
353 m.write("\t" + commands[cmd] + "\n\n") 355 m.write("\t" + commands[cmd] + "\n\n")
354 m.close() 356 m.close()
355 d.setVar("EXTRA_OEMAKE", "-C %s ${PARALLEL_MAKE}" % (os.path.dirname(makefile))) 357 d.setVar("EXTRA_OEMAKE", "-C %s ${PARALLEL_MAKE}" % (os.path.dirname(makefile)))
358 d.setVarFlag("oe_runmake", "progress", "outof:Progress\s(\d+)/(\d+)")
356 bb.note("Executing binary locale generation makefile") 359 bb.note("Executing binary locale generation makefile")
357 bb.build.exec_func("oe_runmake", d) 360 bb.build.exec_func("oe_runmake", d)
358 bb.note("collecting binary locales from locale tree") 361 bb.note("collecting binary locales from locale tree")