diff options
Diffstat (limited to 'recipes-containers/criu/criu_git.bb')
| -rw-r--r-- | recipes-containers/criu/criu_git.bb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index febf81ed..045a4318 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb | |||
| @@ -25,7 +25,7 @@ SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=criu-dev \ | |||
| 25 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" | 25 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" |
| 26 | 26 | ||
| 27 | DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet" | 27 | DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet" |
| 28 | RDEPENDS_${PN} = "bash" | 28 | RDEPENDS:${PN} = "bash" |
| 29 | 29 | ||
| 30 | S = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/git" |
| 31 | 31 | ||
| @@ -34,17 +34,17 @@ S = "${WORKDIR}/git" | |||
| 34 | # if the ARCH is ARMv7 or ARMv6. | 34 | # if the ARCH is ARMv7 or ARMv6. |
| 35 | # ARM BSPs need set CRIU_BUILD_ARCH variable for building CRIU. | 35 | # ARM BSPs need set CRIU_BUILD_ARCH variable for building CRIU. |
| 36 | # | 36 | # |
| 37 | EXTRA_OEMAKE_arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0" | 37 | EXTRA_OEMAKE:arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0" |
| 38 | EXTRA_OEMAKE_x86-64 += "ARCH=x86 WERROR=0" | 38 | EXTRA_OEMAKE:x86-64 += "ARCH=x86 WERROR=0" |
| 39 | EXTRA_OEMAKE_aarch64 += "ARCH=aarch64 WERROR=0" | 39 | EXTRA_OEMAKE:aarch64 += "ARCH=aarch64 WERROR=0" |
| 40 | 40 | ||
| 41 | EXTRA_OEMAKE_append += "SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no" | 41 | EXTRA_OEMAKE:append += "SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no" |
| 42 | EXTRA_OEMAKE_append += "LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}" | 42 | EXTRA_OEMAKE:append += "LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}" |
| 43 | 43 | ||
| 44 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " | 44 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " |
| 45 | 45 | ||
| 46 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" | 46 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" |
| 47 | CFLAGS_arm += "-D__WORDSIZE" | 47 | CFLAGS:arm += "-D__WORDSIZE" |
| 48 | 48 | ||
| 49 | # overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'" | 49 | # overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'" |
| 50 | export LDFLAGS="" | 50 | export LDFLAGS="" |
| @@ -63,7 +63,7 @@ PACKAGECONFIG[selinux] = ",,libselinux" | |||
| 63 | 63 | ||
| 64 | CLEANBROKEN = "1" | 64 | CLEANBROKEN = "1" |
| 65 | 65 | ||
| 66 | do_compile_prepend() { | 66 | do_compile:prepend() { |
| 67 | rm -rf ${S}/images/google/protobuf/descriptor.proto | 67 | rm -rf ${S}/images/google/protobuf/descriptor.proto |
| 68 | ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto | 68 | ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto |
| 69 | } | 69 | } |
| @@ -83,13 +83,13 @@ do_install () { | |||
| 83 | sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit | 83 | sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | FILES_${PN} += "${systemd_unitdir}/ \ | 86 | FILES:${PN} += "${systemd_unitdir}/ \ |
| 87 | ${libdir}/python3*/site-packages/ \ | 87 | ${libdir}/python3*/site-packages/ \ |
| 88 | ${libdir}/pycriu/ \ | 88 | ${libdir}/pycriu/ \ |
| 89 | ${libdir}/crit-0.0.1-py3*.egg-info \ | 89 | ${libdir}/crit-0.0.1-py3*.egg-info \ |
| 90 | " | 90 | " |
| 91 | 91 | ||
| 92 | FILES_${PN}-staticdev += " \ | 92 | FILES:${PN}-staticdev += " \ |
| 93 | ${libexecdir}/compel/std.lib.a \ | 93 | ${libexecdir}/compel/std.lib.a \ |
| 94 | ${libexecdir}/compel/fds.lib.a \ | 94 | ${libexecdir}/compel/fds.lib.a \ |
| 95 | " | 95 | " |
