Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From 21509735678990760d5ebf9d0c65efa4b52b838d Mon Sep 17 00:00:00 2001 |
| 2 | From: Ting Liu <b28495@freescale.com> |
| 3 | Date: Wed, 19 Dec 2012 04:39:57 -0600 |
| 4 | Subject: [PATCH] eglibc: run libm-err-tab.pl with specific dirs in ${S} |
| 5 | |
| 6 | libm-err-tab.pl will parse all the files named "libm-test-ulps" |
| 7 | in the given dir recursively. To avoid parsing the one in |
| 8 | ${S}/.pc/ (it does exist after eglibc adds aarch64 support, |
| 9 | ${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/ |
| 10 | aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs |
| 11 | in ${S}. |
| 12 | |
| 13 | Upstream-Status: inappropriate [OE specific] |
| 14 | |
| 15 | Signed-off-by: Ting Liu <b28495@freescale.com> |
| 16 | --- |
| 17 | manual/Makefile | 3 ++- |
| 18 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 19 | |
| 20 | diff --git a/manual/Makefile b/manual/Makefile |
| 21 | index c61e11dcd7..5d859e6f84 100644 |
| 22 | --- a/manual/Makefile |
| 23 | +++ b/manual/Makefile |
| 24 | @@ -103,7 +103,8 @@ $(objpfx)stamp-libm-err: $(..)math/gen-libm-test.py \ |
| 25 | $(wildcard $(foreach dir,$(sysdirs),\ |
| 26 | $(dir)/libm-test-ulps)) |
| 27 | pwd=`pwd`; \ |
| 28 | - $(PYTHON) $< -s $$pwd/.. -m $(objpfx)libm-err-tmp |
| 29 | + $(PYTHON) $< -s $$pwd/../ports -m $(objpfx)libm-err-tmp |
| 30 | + $(PYTHON) $< -s $$pwd/../sysdeps -m $(objpfx)libm-err-tmp |
| 31 | $(move-if-change) $(objpfx)libm-err-tmp $(objpfx)libm-err.texi |
| 32 | touch $@ |
| 33 | |