Fixes for QorIQ platforms
cover Fixes for QorIQ platforms
Zhenhua Luo (12):
ipsec-demo: Fix host contamination and build warning
testfloat: get rid of 'No GNU_HASH in the elf binary' warning
mux-server: Fix build warnings caused by external toolchain openssl/cryptodev: base_contains -> bb.utils.contains
eth-config: fix host contamination warnings
pkc-host: disable -Werror
ipc-ust: skip two insane check
skmm-ep: fix the build error caused by duplicated definition
linux-qoriq: fix build issue under gcc6
u-boot: fix build error under gcc6
linux-qoriq: exclude DATETIME from vardepsexclude of ZIMAGE_BASE_NAME
to fix taskhash mismatch issue
README: add meta-openembedded as dependent layer
README | 4 + .../u-boot/files/fix-build-error-under-gcc6.patch | 86 +++++++++++++++++ recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | 1 + recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb | 1 + recipes-connectivity/openssl/openssl-qoriq.inc | 4 +- recipes-dpaa/eth-config/eth-config_git.bb | 1 + recipes-extended/ipc-ust/ipc-ust_git.bb | 3 + ...p-remove-duplicated-pa_to_va-and-va_to_pa.patch | 40 ++++++++ recipes-extended/skmm-ep/skmm-ep_git.bb | 1 + .../files/Yocto-replace-COMPILE_PREFIX-gcc.patch | 2 +- recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc | 2 +- recipes-kernel/linux/linux-qoriq.inc | 1 + .../fix-the-compile-issue-under-gcc6.patch | 103 +++++++++++++++++++++ .../module-remove-MODULE_GENERIC_TABLE.patch | 77 +++++++++++++++ recipes-kernel/linux/linux-qoriq_3.12.bb | 2 + recipes-kernel/pkc-host/pkc-host_git.bb | 4 + ...001-Makefile-Fix-the-warning-during-build.patch | 31 +++++++ .../mux-server/mux-server_1.02.bb | 4 +- 18 files changed, 362 insertions(+), 5 deletions(-) create mode 100644 recipes-bsp/u-boot/files/fix-build-error-under-gcc6.patch create mode 100644 recipes-extended/skmm-ep/skmm-ep/skmm-ep-remove-duplicated-pa_to_va-and-va_to_pa.patch create mode 100644 recipes-kernel/linux/linux-qoriq/fix-the-compile-issue-under-gcc6.patch create mode 100644 recipes-kernel/linux/linux-qoriq/module-remove-MODULE_GENERIC_TABLE.patch create mode 100644 recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch
Signature · 1 line
2.4.11
PATCH 1/12 ipsec-demo: Fix host contamination and build warning
All files in the test_setkey directory are being copied with ownership preserved (cp -a).
* Change ownership of all files in test_setkey directory to root:root
--- recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb | 1 + 1 file changed, 1 insertion(+)
recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb +1 -0
@@ -16,6 +16,7 @@ do_compile[noexec] = "1" do_install(){ install -d ${D}${datadir} cp -a ${WORKDIR}/test_setkey ${D}${datadir}/ + chown -R root:root ${D}${datadir}/test_setkey } FILES_${PN} = "${datadir}/*"
Signature · 1 line
2.4.11
PATCH 2/12 testfloat: get rid of 'No GNU_HASH in the elf binary' warning
In reply to Zhenhua LuoRemove the warning caused by external toolchain like sourcery. When used with sourcery toolchain warning was thrown during the build.
--- recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch +1 -1
@@ -58,7 +58,7 @@ index de50aad..1a8b5f7 100644 +COMPILE_SLOWFLOAT_C = $(CC) -c -o $@ $(INCLUDES) -I- -O -LINK = $(COMPILE_PREFIX)gcc -lm -o $@ -+LINK = $(CC) -lm -o $@ ++LINK = $(CC) -lm -o $@ ${LDFLAGS} SOFTFLOAT_H = $(SOFTFLOAT_DIR)/softfloat.h SOFTFLOAT_OBJ = $(SOFTFLOAT_DIR)/softfloat$(OBJ)
Signature · 1 line
2.4.11
PATCH 3/12 mux-server: Fix build warnings caused by external toolchain
In reply to Zhenhua LuoThis patch resolves the warning:
| QA Issue: No GNU_HASH in the elf binary
| when built with external toolchain.
--- ...001-Makefile-Fix-the-warning-during-build.patch | 31 ++++++++++++++++++++++ .../mux-server/mux-server_1.02.bb | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch
recipes-virtualization/mux-server/mux-server/0001-Makefile-Fix-the-warning-during-build.patch new file +31 -0
@@ -0,0 +1,31 @@ +From bcb58c751a7ff82095642d2c9424a7ae18bca3c6 Mon Sep 17 00:00:00 2001 +From: Sujith Haridasan <[email protected]> +Date: Wed, 27 Apr 2016 16:49:09 +0530 +Subject: [PATCH] Makefile: Fix the warning during build + +Fix QA Issue: No GNU_HASH in the elf binary +This warning is caused when built with external +toolchain sourcery. + +Signed-off-by: Sujith H <[email protected]> +Signed-off-by: Sujith Haridasan <[email protected]> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index c41030d..fa69b6f 100644 +--- a/Makefile ++++ b/Makefile +@@ -36,7 +36,7 @@ HOSTCC_OPTS_C= -Wall \ + all: mux_server + + mux_server: mux_server.c +- $(HOSTCC) $(HOSTCC_OPTS) $(HOSTCC_OPTS_C) -o $@ $< -lpthread ++ $(HOSTCC) $(HOSTCC_OPTS) $(HOSTCC_OPTS_C) -o $@ $< -lpthread ${LDFLAGS} + + clean: + rm -f mux_server +-- +1.9.1 +
recipes-virtualization/mux-server/mux-server_1.02.bb +3 -1
@@ -3,7 +3,9 @@ SECTION = "mux-server" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://git.freescale.com/ppc/sdk/hypervisor/mux_server.git;branch=master" +SRC_URI = "git://git.freescale.com/ppc/sdk/hypervisor/mux_server.git;branch=master \ + file://0001-Makefile-Fix-the-warning-during-build.patch \ +" SRCREV = "3e4c6a44a81bb5cf2996830e8034d26850f80efc" S = "${WORKDIR}/git"
Signature · 1 line
2.4.11
PATCH 4/12 openssl/cryptodev: base_contains -> bb.utils.contains
In reply to Zhenhua Luobase_contains is deprecated.
--- recipes-connectivity/openssl/openssl-qoriq.inc | 4 ++-- recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
recipes-connectivity/openssl/openssl-qoriq.inc +2 -2
@@ -49,7 +49,7 @@ FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}" FILES_libssl = "${libdir}/libssl.so.*" FILES_${PN} =+ " ${libdir}/ssl/*" FILES_${PN}-misc = "${libdir}/ssl/misc ${bindir}/c_rehash" -RDEPENDS_${PN}-misc = "${@base_contains('PACKAGECONFIG', 'perl', 'perl', '', d)}" +RDEPENDS_${PN}-misc = "${@bb.utils.contains('PACKAGECONFIG', 'perl', 'perl', '', d)}" FILES_${PN}-dev += "${base_libdir}/libcrypto${SOLIBSDEV}" # Add the openssl.cnf file to the openssl-conf package. Make the libcrypto
@@ -169,7 +169,7 @@ do_install () { cp --dereference -R include/openssl ${D}${includedir} oe_multilib_header openssl/opensslconf.h - if [ "${@base_contains('PACKAGECONFIG', 'perl', 'perl', '', d)}" = "perl" ]; then + if [ "${@bb.utils.contains('PACKAGECONFIG', 'perl', 'perl', '', d)}" = "perl" ]; then install -m 0755 ${S}/tools/c_rehash ${D}${bindir} sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${bindir}/c_rehash sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl
recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc +1 -1
@@ -55,7 +55,7 @@ file://0024-fix-COMPAT_CIOCKEY-ioctl-command-number.patch \ # NOTE: remove this patch and all traces of DISTRO_FEATURE c29x_pkc # if pkc-host does not need customized cryptodev patches anymore -SRC_URI_append = "${@base_contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}" +SRC_URI_append = "${@bb.utils.contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}" S = "${WORKDIR}/cryptodev-linux-${PV}"
Signature · 1 line
2.4.11
PATCH 5/12 eth-config: fix host contamination warnings
In reply to Zhenhua LuoFix the following host contamination warnings:
| eth-config: /eth-config/xxx is owned by uid 1000, which is the same as | the user running bitbake. This may be due to host contamination | [host-user-contaminated]
--- recipes-dpaa/eth-config/eth-config_git.bb | 1 + 1 file changed, 1 insertion(+)
recipes-dpaa/eth-config/eth-config_git.bb +1 -0
@@ -14,6 +14,7 @@ EXTRA_OEMAKE = "D=${D}" do_install() { oe_runmake install + chown -R root:root ${D} } CLEANBROKEN = "1"
Signature · 1 line
2.4.11
PATCH 6/12 pkc-host: disable -Werror
In reply to Zhenhua Luo--- recipes-kernel/pkc-host/pkc-host_git.bb | 4 ++++ 1 file changed, 4 insertions(+)
recipes-kernel/pkc-host/pkc-host_git.bb +4 -0
@@ -17,6 +17,10 @@ S = "${WORKDIR}/git" EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' +do_compile_prepend() { + sed -i 's#-Werror##g' ${S}/Makefile +} + do_install() { oe_runmake INSTALL_MOD_PATH="${D}" modules_install install -d ${D}/etc/crypto
Signature · 1 line
2.4.11
PATCH 7/12 ipc-ust: skip two insane check
In reply to Zhenhua LuoFix the following build issues:
1. WARNING: ipc-ust-git-r0 do_package_qa: QA Issue: /ipc/ipc_test contained in package ipc-ust requires libmem.so, but no providers found in RDEPENDS_ipc-ust? [file-rdeps]
2. ERROR: ipc-ust-git-r0 do_package_qa: QA Issue: -dev package contains non-symlink .so: ipc-ust-dev path 'work/ppce6500-poky-linux/ipc-ust/git-r0/packages-split/ipc-ust-dev/lib/libipc.so'
--- recipes-extended/ipc-ust/ipc-ust_git.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-extended/ipc-ust/ipc-ust_git.bb +3 -0
@@ -49,3 +49,6 @@ do_install () { FILES_${PN} += "${base_libdir}/*.so /ipc/*" FILES_${PN}-dev = "${includedir}" FILES_${PN}-dbg += "/ipc/.debug" + +INSANE_SKIP_${PN} += "file-rdeps" +INSANE_SKIP_${PN}-dev += "dev-elf"
Signature · 1 line
2.4.11
PATCH 8/12 skmm-ep: fix the build error caused by duplicated definition
In reply to Zhenhua LuoRemove the duplicated definition to fix the following build errors:
| apps/skmm/lib/skmm_sram.c:42:18: error: redefinition of 'pa_to_va' | apps/skmm/lib/skmm_sram.c:51:20: error: redefinition of 'va_to_pa'
--- ...p-remove-duplicated-pa_to_va-and-va_to_pa.patch | 40 ++++++++++++++++++++++ recipes-extended/skmm-ep/skmm-ep_git.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 recipes-extended/skmm-ep/skmm-ep/skmm-ep-remove-duplicated-pa_to_va-and-va_to_pa.patch
recipes-extended/skmm-ep/skmm-ep/skmm-ep-remove-duplicated-pa_to_va-and-va_to_pa.patch new file +40 -0
@@ -0,0 +1,40 @@ +skmm-ep: remove duplicated definition + +Remove the duplicated definition to fix the following build errors: +| apps/skmm/lib/skmm_sram.c:42:18: error: redefinition of 'pa_to_va' +| apps/skmm/lib/skmm_sram.c:51:20: error: redefinition of 'va_to_pa' + +Upstream-Status: Pending + +Signed-off-by: Zhenhua Luo <[email protected]> + +diff --git a/apps/skmm/lib/skmm_sram.c b/apps/skmm/lib/skmm_sram.c +index 2d84d93..6ab0421 100644 +--- a/apps/skmm/lib/skmm_sram.c ++++ b/apps/skmm/lib/skmm_sram.c +@@ -39,24 +39,6 @@ + static phys_addr_t sram_phys_addr; + static va_addr_t sram_virt_addr; + +-inline va_addr_t pa_to_va(phys_addr_t addr) +-{ +- va_addr_t offset; +- +- offset = (va_addr_t)(addr - sram_phys_addr); +- +- return sram_virt_addr + offset; +-} +- +-inline phys_addr_t va_to_pa(va_addr_t addr) +-{ +- phys_addr_t offset; +- +- offset = (phys_addr_t)(addr - sram_virt_addr); +- +- return sram_phys_addr + offset; +-} +- + static int setup_law_for_plt_sram(phys_addr_t l2sram, u32 *size) + { + int fd; +--
recipes-extended/skmm-ep/skmm-ep_git.bb +1 -0
@@ -10,6 +10,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" SRC_URI = "git://git.freescale.com/ppc/sdk/skmm-ep.git;nobranch=1 \ file://add-two-missing-header-files.patch \ file://skmm-ep-fix-the-inline-function-definition-with-gcc-.patch \ + file://skmm-ep-remove-duplicated-pa_to_va-and-va_to_pa.patch \ " SRCREV = "27156a6621c8f6d7f98210b1ca5cd97bde926875"
Signature · 1 line
2.4.11
PATCH 9/12 linux-qoriq: fix build issue under gcc6
In reply to Zhenhua Luo--- .../fix-the-compile-issue-under-gcc6.patch | 103 +++++++++++++++++++++ .../module-remove-MODULE_GENERIC_TABLE.patch | 77 +++++++++++++++ recipes-kernel/linux/linux-qoriq_3.12.bb | 2 + 3 files changed, 182 insertions(+) create mode 100644 recipes-kernel/linux/linux-qoriq/fix-the-compile-issue-under-gcc6.patch create mode 100644 recipes-kernel/linux/linux-qoriq/module-remove-MODULE_GENERIC_TABLE.patch
recipes-kernel/linux/linux-qoriq/fix-the-compile-issue-under-gcc6.patch new file +103 -0
@@ -0,0 +1,103 @@ +Fix the compile issue under gcc6 + +Fix the following build error: +| .../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory +| #include gcc_header(__GNUC__) + +Signed-off-by: Zhenhua Luo <[email protected]> + +Upstream-Status: Pending +--- + arch/powerpc/kernel/Makefile | 2 -- + include/linux/compiler-gcc6.h | 66 +++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 66 insertions(+), 2 deletions(-) + create mode 100644 include/linux/compiler-gcc6.h + +diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile +index c326675..45f0494 100644 +--- a/arch/powerpc/kernel/Makefile ++++ b/arch/powerpc/kernel/Makefile +@@ -4,8 +4,6 @@ + + CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' + +-subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror +- + ifeq ($(CONFIG_PPC64),y) + CFLAGS_prom_init.o += $(NO_MINIMAL_TOC) + endif +diff --git a/include/linux/compiler-gcc6.h b/include/linux/compiler-gcc6.h +new file mode 100644 +index 0000000..cdd1cc2 +--- /dev/null ++++ b/include/linux/compiler-gcc6.h +@@ -0,0 +1,66 @@ ++#ifndef __LINUX_COMPILER_H ++#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead." ++#endif ++ ++#define __used __attribute__((__used__)) ++#define __must_check __attribute__((warn_unused_result)) ++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b) ++ ++/* Mark functions as cold. gcc will assume any path leading to a call ++ to them will be unlikely. This means a lot of manual unlikely()s ++ are unnecessary now for any paths leading to the usual suspects ++ like BUG(), printk(), panic() etc. [but let's keep them for now for ++ older compilers] ++ ++ Early snapshots of gcc 4.3 don't support this and we can't detect this ++ in the preprocessor, but we can live with this because they're unreleased. ++ Maketime probing would be overkill here. ++ ++ gcc also has a __attribute__((__hot__)) to move hot functions into ++ a special section, but I don't see any sense in this right now in ++ the kernel context */ ++#define __cold __attribute__((__cold__)) ++ ++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ++ ++#ifndef __CHECKER__ ++# define __compiletime_warning(message) __attribute__((warning(message))) ++# define __compiletime_error(message) __attribute__((error(message))) ++#endif /* __CHECKER__ */ ++ ++/* ++ * Mark a position in code as unreachable. This can be used to ++ * suppress control flow warnings after asm blocks that transfer ++ * control elsewhere. ++ * ++ * Early snapshots of gcc 4.5 don't support this and we can't detect ++ * this in the preprocessor, but we can live with this because they're ++ * unreleased. Really, we need to have autoconf for the kernel. ++ */ ++#define unreachable() __builtin_unreachable() ++ ++/* Mark a function definition as prohibited from being cloned. */ ++#define __noclone __attribute__((__noclone__)) ++ ++/* ++ * Tell the optimizer that something else uses this function or variable. ++ */ ++#define __visible __attribute__((externally_visible)) ++ ++/* ++ * GCC 'asm goto' miscompiles certain code sequences: ++ * ++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 ++ * ++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. ++ * Fixed in GCC 4.8.2 and later versions. ++ * ++ * (asm goto is automatically volatile - the naming reflects this.) ++ */ ++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) ++ ++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP ++#define __HAVE_BUILTIN_BSWAP32__ ++#define __HAVE_BUILTIN_BSWAP64__ ++#define __HAVE_BUILTIN_BSWAP16__ ++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ +-- +2.5.0 +
recipes-kernel/linux/linux-qoriq/module-remove-MODULE_GENERIC_TABLE.patch new file +77 -0
77 lines not on this page · raw message
recipes-kernel/linux/linux-qoriq_3.12.bb +2 -0
@@ -7,6 +7,8 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v1.9.x \ file://0001-ARM-LLVMLinux-Change-extern-inline-to-static-inline.patch \ file://0003-use-static-inline-in-ARM-lifeboot.h.patch \ file://0001-powerpc-Align-TOC-to-256-bytes.patch \ + file://fix-the-compile-issue-under-gcc6.patch \ + file://module-remove-MODULE_GENERIC_TABLE.patch \ " SRCREV = "43cecda943a6c40a833b588801b0929e8bd48813"
Signature · 1 line
2.4.11
PATCH 10/12 u-boot: fix build error under gcc6
In reply to Zhenhua LuoFix the following build error under gcc6:
| ../include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory | #include gcc_header(__GNUC__)
--- .../u-boot/files/fix-build-error-under-gcc6.patch | 86 ++++++++++++++++++++++ recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | 1 + 2 files changed, 87 insertions(+) create mode 100644 recipes-bsp/u-boot/files/fix-build-error-under-gcc6.patch
recipes-bsp/u-boot/files/fix-build-error-under-gcc6.patch new file +86 -0
@@ -0,0 +1,86 @@ +fix build error under gcc6 + +Fix the following error: +| ../include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory +| #include gcc_header(__GNUC__) + +Signed-off-by: Zhenhua Luo <[email protected]> + +Upstream-Status: Pending +--- + include/linux/compiler-gcc6.h | 65 +++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 65 insertions(+) + create mode 100644 include/linux/compiler-gcc6.h + +diff --git a/include/linux/compiler-gcc6.h b/include/linux/compiler-gcc6.h +new file mode 100644 +index 0000000..c8c5659 +--- /dev/null ++++ b/include/linux/compiler-gcc6.h +@@ -0,0 +1,65 @@ ++#ifndef __LINUX_COMPILER_H ++#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead." ++#endif ++ ++#define __used __attribute__((__used__)) ++#define __must_check __attribute__((warn_unused_result)) ++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b) ++ ++/* Mark functions as cold. gcc will assume any path leading to a call ++ to them will be unlikely. This means a lot of manual unlikely()s ++ are unnecessary now for any paths leading to the usual suspects ++ like BUG(), printk(), panic() etc. [but let's keep them for now for ++ older compilers] ++ ++ Early snapshots of gcc 4.3 don't support this and we can't detect this ++ in the preprocessor, but we can live with this because they're unreleased. ++ Maketime probing would be overkill here. ++ ++ gcc also has a __attribute__((__hot__)) to move hot functions into ++ a special section, but I don't see any sense in this right now in ++ the kernel context */ ++#define __cold __attribute__((__cold__)) ++ ++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ++ ++#ifndef __CHECKER__ ++# define __compiletime_warning(message) __attribute__((warning(message))) ++# define __compiletime_error(message) __attribute__((error(message))) ++#endif /* __CHECKER__ */ ++ ++/* ++ * Mark a position in code as unreachable. This can be used to ++ * suppress control flow warnings after asm blocks that transfer ++ * control elsewhere. ++ * ++ * Early snapshots of gcc 4.5 don't support this and we can't detect ++ * this in the preprocessor, but we can live with this because they're ++ * unreleased. Really, we need to have autoconf for the kernel. ++ */ ++#define unreachable() __builtin_unreachable() ++ ++/* Mark a function definition as prohibited from being cloned. */ ++#define __noclone __attribute__((__noclone__)) ++ ++/* ++ * Tell the optimizer that something else uses this function or variable. ++ */ ++#define __visible __attribute__((externally_visible)) ++ ++/* ++ * GCC 'asm goto' miscompiles certain code sequences: ++ * ++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 ++ * ++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. ++ * ++ * (asm goto is automatically volatile - the naming reflects this.) ++ */ ++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) ++ ++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP ++#define __HAVE_BUILTIN_BSWAP32__ ++#define __HAVE_BUILTIN_BSWAP64__ ++#define __HAVE_BUILTIN_BSWAP16__ ++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ +--
recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb +1 -0
@@ -26,6 +26,7 @@ SRCBRANCH = "sdk-v1.9.x" SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=${SRCBRANCH} \ file://gcc5.patch \ file://add-fgnu89-inline-option-for-gcc5.patch \ + file://fix-build-error-under-gcc6.patch \ " SRCREV = "eb3d4fc5759729d7af71ac31ebf6a7e8d0e79da3"
Signature · 1 line
2.4.11
PATCH 11/12 linux-qoriq: exclude DATETIME from vardepsexclude of ZIMAGE_BASE_NAME to fix taskhash mismatch issue
In reply to Zhenhua LuoThe siggen.py checks the task hash, DATETIME dependency causes Taskhash mismatch error, exxclude DATETIME variable from vardepsexclude of ZIMAGE_BASE_NAME.
--- recipes-kernel/linux/linux-qoriq.inc | 1 + 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-qoriq.inc +1 -0
@@ -17,6 +17,7 @@ KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" +ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME" SCMVERSION ?= "y" LOCALVERSION = ""
Signature · 1 line
2.4.11
PATCH 12/12 README: add meta-openembedded as dependent layer
In reply to Zhenhua LuoSome recipes depends oon meta-openembedded layer.
--- README | 4 ++++ 1 file changed, 4 insertions(+)
README +4 -0
@@ -10,6 +10,10 @@ URI: git://git.openembedded.org/openembedded-core branch: master revision: HEAD +URI: git://git.openembedded.org/meta-openembedded +branch: master +revision: HEAD + Contributing ------------
Signature · 1 line
2.4.11
Re: [meta-freescale-layer][PATCH 12/12] README: add meta-openembedded as dependent layer
Quoted 3 lines · Zhenhua Luo
Some recipes depends oon meta-openembedded layer.
Signed-off-by Zhenhua Luo <[email protected]>
Please move the recipes which depends on meta-oe for the dynamic layer. We should not require meta-oe.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750