mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
waf-samba.bbclass: fix build error with PARALLEL_MAKE="-j X -l Y"
Waf doesn't handle -l. Use a function already provided by waf.bbclass in OE-Core. Inheriting waf.bbclass also makes overriding DISABLE_STATIC redundant, so drop it from recipes inheriting waf-samba. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
cc32689a5b
commit
9beb04e98d
@@ -1,7 +1,7 @@
|
|||||||
# waf is a build system which is used by samba related project.
|
# waf is a build system which is used by samba related project.
|
||||||
# Obtain details from https://wiki.samba.org/index.php/Waf
|
# Obtain details from https://wiki.samba.org/index.php/Waf
|
||||||
#
|
#
|
||||||
inherit qemu pythonnative
|
inherit qemu pythonnative waf
|
||||||
|
|
||||||
DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python"
|
DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python"
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ do_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_compile () {
|
do_compile () {
|
||||||
python ./buildtools/bin/waf ${PARALLEL_MAKE}
|
python ./buildtools/bin/waf ${@get_waf_parallel_make(d)}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|||||||
@@ -94,7 +94,6 @@ EXTRA_OECONF += "--enable-fhs \
|
|||||||
--with-libiconv=${STAGING_DIR_HOST}${prefix} \
|
--with-libiconv=${STAGING_DIR_HOST}${prefix} \
|
||||||
--with-pam --with-pammodulesdir=${base_libdir}/security \
|
--with-pam --with-pammodulesdir=${base_libdir}/security \
|
||||||
"
|
"
|
||||||
DISABLE_STATIC = ""
|
|
||||||
|
|
||||||
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
|
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ EXTRA_OECONF += "--disable-rpath \
|
|||||||
--with-privatelibdir=${libdir}/ldb \
|
--with-privatelibdir=${libdir}/ldb \
|
||||||
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
||||||
"
|
"
|
||||||
DISABLE_STATIC = ""
|
|
||||||
|
|
||||||
PACKAGES += "pyldb pyldb-dbg pyldb-dev"
|
PACKAGES += "pyldb pyldb-dbg pyldb-dev"
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ EXTRA_OECONF += "--disable-rpath \
|
|||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
||||||
"
|
"
|
||||||
DISABLE_STATIC = ""
|
|
||||||
|
|
||||||
PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev"
|
PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev"
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ EXTRA_OECONF += "--disable-rpath \
|
|||||||
--builtin-libraries=replace \
|
--builtin-libraries=replace \
|
||||||
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
||||||
"
|
"
|
||||||
DISABLE_STATIC = ""
|
|
||||||
|
|
||||||
PACKAGES += "tdb-tools python-tdb python-tdb-dbg"
|
PACKAGES += "tdb-tools python-tdb python-tdb-dbg"
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ EXTRA_OECONF += "--disable-rpath \
|
|||||||
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
--with-libiconv=${STAGING_DIR_HOST}${prefix}\
|
||||||
--without-gettext \
|
--without-gettext \
|
||||||
"
|
"
|
||||||
DISABLE_STATIC = ""
|
|
||||||
|
|
||||||
PACKAGES += "python-tevent python-tevent-dbg"
|
PACKAGES += "python-tevent python-tevent-dbg"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user