pkc-host: disable -Werror
PATCH 1/3 pkc-host: disable -Werror
Signed-off-by Zhenhua Luo <[email protected]>
--- 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 2/3 ipc-ust: skip two insane check
Fix 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'
Signed-off-by Zhenhua Luo <[email protected]>
--- recipes-bsp/ipc/ipc-ust_git.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-bsp/ipc/ipc-ust_git.bb +2 -0
@@ -48,3 +48,5 @@ do_install () { FILES_${PN} += "/ipc/*" FILES_${PN}-dbg += "/ipc/.debug" +INSANE_SKIP_${PN} += "file-rdeps" +INSANE_SKIP_${PN}-dev += "dev-elf"
Signature · 1 line
2.4.11
PATCH 3/3 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'
Signed-off-by Zhenhua Luo <[email protected]>
--- ...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