mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
pcp: Fix build to exclude qt5
Pass right options to ar Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Lei Maohui <leimaohui@fujitsu.com>
This commit is contained in:
@@ -29,4 +29,6 @@ EXTRA_OECONF:append = " --with-dstat-symlink=yes --with-infiniband=no \
|
|||||||
--with-docdir=${docdir} \
|
--with-docdir=${docdir} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
PACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d"
|
||||||
|
|
||||||
|
PACKAGECONFIG ?= ""
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
Do not pass cr option
|
||||||
|
|
||||||
|
These options are already coming from builddefs
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
|
||||||
|
--- a/src/include/builddefs.in
|
||||||
|
+++ b/src/include/builddefs.in
|
||||||
|
@@ -167,7 +167,7 @@ OBJECTS = $(ASFILES:.s=.o) \
|
||||||
|
|
||||||
|
#NB: don't override $(MAKE); gnumake sets it well, propagating -j etc.
|
||||||
|
#MAKE = @make@
|
||||||
|
-AR = @ar@
|
||||||
|
+AR = @ar@ cqs
|
||||||
|
CC = @cc@
|
||||||
|
CXX = @cxx@
|
||||||
|
LD = @ld@
|
||||||
|
--- a/src/include/buildrules
|
||||||
|
+++ b/src/include/buildrules
|
||||||
|
@@ -93,7 +93,7 @@ $(STATICLIBTARGET) : $(SUBDIRS) $(OBJECT
|
||||||
|
ifeq ($(TARGET_OS), darwin)
|
||||||
|
libtool -static -o $(STATICLIBTARGET) $?
|
||||||
|
else
|
||||||
|
- $(AR) cr $(STATICLIBTARGET) $?
|
||||||
|
+ $(AR) $(STATICLIBTARGET) $?
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
@@ -11,11 +11,12 @@ DEPENDS += "perl-native bison-native flex-native python3-native python3-setuptoo
|
|||||||
|
|
||||||
|
|
||||||
SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \
|
SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \
|
||||||
|
file://pass-options-to-AR.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
export PCP_DIR="${RECIPE_SYSROOT_NATIVE}"
|
export PCP_DIR="${RECIPE_SYSROOT_NATIVE}"
|
||||||
#export PCP_RUN_DIR="${RECIPE_SYSROOT_NATIVE}"
|
#export PCP_RUN_DIR="${RECIPE_SYSROOT_NATIVE}"
|
||||||
EXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}""
|
EXTRA_OEMAKE = "CC="${CC}" LD="${LD}""
|
||||||
inherit useradd systemd
|
inherit useradd systemd
|
||||||
|
|
||||||
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
|
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
|
||||||
|
|||||||
Reference in New Issue
Block a user