diff options
Diffstat (limited to 'meta/recipes-devtools/pseudo/pseudo.inc')
| -rw-r--r-- | meta/recipes-devtools/pseudo/pseudo.inc | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc index 16c57c9caa..18ce9f9259 100644 --- a/meta/recipes-devtools/pseudo/pseudo.inc +++ b/meta/recipes-devtools/pseudo/pseudo.inc | |||
| @@ -26,6 +26,8 @@ do_configure () { | |||
| 26 | NO32LIBS ??= "1" | 26 | NO32LIBS ??= "1" |
| 27 | NO32LIBS_class-nativesdk = "1" | 27 | NO32LIBS_class-nativesdk = "1" |
| 28 | 28 | ||
| 29 | PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback" | ||
| 30 | |||
| 29 | # Compile for the local machine arch... | 31 | # Compile for the local machine arch... |
| 30 | do_compile () { | 32 | do_compile () { |
| 31 | if [ "${SITEINFO_BITS}" = "64" ]; then | 33 | if [ "${SITEINFO_BITS}" = "64" ]; then |
| @@ -112,10 +114,15 @@ do_install () { | |||
| 112 | oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install | 114 | oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install |
| 113 | } | 115 | } |
| 114 | 116 | ||
| 115 | # Two below are the same | ||
| 116 | # If necessary install for the alternative machine arch. This is only | ||
| 117 | # necessary in a native build. | ||
| 118 | do_install_append_class-native () { | 117 | do_install_append_class-native () { |
| 118 | install -d ${D}${sysconfdir} | ||
| 119 | # The fallback files should never be modified | ||
| 120 | install -m 444 ${WORKDIR}/fallback-passwd ${D}${sysconfdir}/passwd | ||
| 121 | install -m 444 ${WORKDIR}/fallback-group ${D}${sysconfdir}/group | ||
| 122 | |||
| 123 | # Two native/nativesdk entries below are the same | ||
| 124 | # If necessary install for the alternative machine arch. This is only | ||
| 125 | # necessary in a native build. | ||
| 119 | maybe_make32 | 126 | maybe_make32 |
| 120 | if $make32; then | 127 | if $make32; then |
| 121 | mkdir -p ${D}${prefix}/lib/pseudo/lib | 128 | mkdir -p ${D}${prefix}/lib/pseudo/lib |
