diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-01-13 09:48:28 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-18 09:01:51 -0800 |
| commit | d5f1f8c37617ce73077cbdca8b510d4f67d2a4fe (patch) | |
| tree | 36ce71180c4038448decabeffe407a176d3ea50d | |
| parent | 8589b69f9ff283ec3ae990466bed3b84702eb8e1 (diff) | |
| download | meta-openembedded-d5f1f8c37617ce73077cbdca8b510d4f67d2a4fe.tar.gz | |
pcp: Fix build race condition
Fixes
| chkacc1.c:8:10: fatal error: localconfig.h: No such file or directory
| 8 | #include "localconfig.h"
| | ^~~~~~~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch | 11 | ||||
| -rw-r--r-- | meta-oe/recipes-support/pcp/pcp_5.3.5.bb | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch b/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch new file mode 100644 index 0000000000..630f51a494 --- /dev/null +++ b/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | --- a/qa/src/GNUlocaldefs | ||
| 2 | +++ b/qa/src/GNUlocaldefs | ||
| 3 | @@ -728,7 +728,7 @@ scale.o: localconfig.h | ||
| 4 | 779246.o: libpcp.h | ||
| 5 | aggrstore.o: libpcp.h | ||
| 6 | badmmv.o: libpcp.h | ||
| 7 | -chkacc1.o: libpcp.h | ||
| 8 | +chkacc1.o: libpcp.h localconfig.h | ||
| 9 | chkacc2.o: libpcp.h | ||
| 10 | chkacc3.o: libpcp.h | ||
| 11 | chkacc4.o: libpcp.h | ||
diff --git a/meta-oe/recipes-support/pcp/pcp_5.3.5.bb b/meta-oe/recipes-support/pcp/pcp_5.3.5.bb index cdf506577a..290dbaaf4b 100644 --- a/meta-oe/recipes-support/pcp/pcp_5.3.5.bb +++ b/meta-oe/recipes-support/pcp/pcp_5.3.5.bb | |||
| @@ -12,6 +12,7 @@ DEPENDS += "perl-native bison-native flex-native python3-native python3-setuptoo | |||
| 12 | 12 | ||
| 13 | SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \ | 13 | SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \ |
| 14 | file://pass-options-to-AR.patch \ | 14 | file://pass-options-to-AR.patch \ |
| 15 | file://fix_parallel_make.patch \ | ||
| 15 | " | 16 | " |
| 16 | 17 | ||
| 17 | export PCP_DIR="${RECIPE_SYSROOT_NATIVE}" | 18 | export PCP_DIR="${RECIPE_SYSROOT_NATIVE}" |
