All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-freescale-layer][PATCH 0/9] QorIQ patches
@ 2016-08-12 10:43 ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 1/9] linux-qoriq: fix build path of the dtb ting.liu
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Based on the below commit of master-next branch:
0022aaa cst: add bash in RDEPENDS_cst

Fabio Berton (1):
  fsl-kernel-localversion: Make sure build dir exist before create
    .config

Ting Liu (8):
  linux-qoriq: fix build path of the dtb
  c293pcie: c293pcie_36b.dtb -> c293pcie.dtb
  qoriq-base.inc: set PREFERRED_VERSION_testfloat to 2a
  usdpaa-apps: obey LDFLAGS to fix GNU_HASH error
  pme-tools: obey LDFLAGS to fix GNU_HASH error
  skmm-ep: obey LDFLAGS to fix GNU_HASH error
  ipc-ust: obey LDFLAGS to fix GNU_HASH error
  auto-resp: skip ldflags check

 classes/fsl-kernel-localversion.bbclass            |  1 +
 conf/machine/c293pcie.conf                         |  4 +-
 conf/machine/include/qoriq-base.inc                |  1 +
 .../recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb    |  2 +-
 .../ipc-ust/Makefile-use-LDFLAGS-if-set.patch      | 86 ++++++++++++++++++++++
 recipes-extended/ipc-ust/ipc-ust_git.bb            |  4 +-
 recipes-extended/pme-tools/pme-tools_git.bb        |  2 +-
 recipes-extended/skmm-ep/skmm-ep_git.bb            |  2 +-
 .../kernel-modules/kernel-module-ar_git.bb         |  2 +-
 ...x-build-of-the-dtb-embedded-kernel-images.patch | 45 +++++++++++
 recipes-kernel/linux/linux-qoriq_4.1.bb            |  1 +
 11 files changed, 142 insertions(+), 8 deletions(-)
 create mode 100644 recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch
 create mode 100644 recipes-kernel/linux/linux-qoriq/powerpc-fsl-Fix-build-of-the-dtb-embedded-kernel-images.patch

-- 
1.9.2



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 1/9] linux-qoriq: fix build path of the dtb
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 2/9] fsl-kernel-localversion: Make sure build dir exist before create .config ting.liu
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 ...x-build-of-the-dtb-embedded-kernel-images.patch | 45 ++++++++++++++++++++++
 recipes-kernel/linux/linux-qoriq_4.1.bb            |  1 +
 2 files changed, 46 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-qoriq/powerpc-fsl-Fix-build-of-the-dtb-embedded-kernel-images.patch

diff --git a/recipes-kernel/linux/linux-qoriq/powerpc-fsl-Fix-build-of-the-dtb-embedded-kernel-images.patch b/recipes-kernel/linux/linux-qoriq/powerpc-fsl-Fix-build-of-the-dtb-embedded-kernel-images.patch
new file mode 100644
index 0000000..1103f0c
--- /dev/null
+++ b/recipes-kernel/linux/linux-qoriq/powerpc-fsl-Fix-build-of-the-dtb-embedded-kernel-images.patch
@@ -0,0 +1,45 @@
+From 4680c9d50637f78338e786c920aef6c171c7cc00 Mon Sep 17 00:00:00 2001
+From: Alessio Igor Bogani <alessio.bogani@elettra.eu>
+Date: Mon, 18 Apr 2016 08:36:19 +0200
+Subject: powerpc/fsl: Fix build of the dtb embedded kernel images
+
+Commit dc37374b9c833 ("powerpc/fsl: Move Freescale device tree files
+into fsl folder") moved a lot of device tree files into fsl directory,
+fixing Makefile for cuImage target only.  Unfortunately there are other
+targets which require embedding a device tree into the kernel image
+(e.g. dtbImage.%).  So use a more generic approach.
+
+Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
+[scottwood: cleaned up commit message]
+Signed-off-by: Scott Wood <oss@buserror.net>
+---
+ arch/powerpc/boot/Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
+index 6116510..8fe78a3 100644
+--- a/arch/powerpc/boot/Makefile
++++ b/arch/powerpc/boot/Makefile
+@@ -362,9 +362,6 @@ $(obj)/cuImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
+ $(obj)/cuImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
+ 	$(call if_changed,wrap,cuboot-$*,,$(obj)/$*.dtb)
+ 
+-$(obj)/cuImage.%: vmlinux $(obj)/fsl/%.dtb $(wrapperbits)
+-	$(call if_changed,wrap,cuboot-$*,,$(obj)/fsl/$*.dtb)
+-
+ $(obj)/simpleImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits)
+ 	$(call if_changed,wrap,simpleboot-$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)
+ 
+@@ -381,6 +378,9 @@ $(obj)/treeImage.%: vmlinux $(obj)/%.dtb $(wrapperbits)
+ $(obj)/%.dtb: $(src)/dts/%.dts FORCE
+ 	$(call if_changed_dep,dtc)
+ 
++$(obj)/%.dtb: $(src)/dts/fsl/%.dts FORCE
++	$(call if_changed_dep,dtc)
++
+ # If there isn't a platform selected then just strip the vmlinux.
+ ifeq (,$(image-y))
+ image-y := vmlinux.strip
+-- 
+cgit v0.12
+
diff --git a/recipes-kernel/linux/linux-qoriq_4.1.bb b/recipes-kernel/linux/linux-qoriq_4.1.bb
index 198d156..5a5693e 100644
--- a/recipes-kernel/linux/linux-qoriq_4.1.bb
+++ b/recipes-kernel/linux/linux-qoriq_4.1.bb
@@ -12,6 +12,7 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x \
     file://0003-use-static-inline-in-ARM-lifeboot.h.patch \
     file://fix-the-compile-issue-under-gcc6.patch \
     file://only-set-vmpic_msi_feature-if-CONFIG_EPAPR_PARAVIRT-.patch \
+    file://powerpc-fsl-Fix-build-of-the-dtb-embedded-kernel-images.patch \
 "
 SRCREV = "bd51baffc04ecc73f933aee1c3a37c8b44b889a7"
 
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 2/9] fsl-kernel-localversion: Make sure build dir exist before create .config
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 1/9] linux-qoriq: fix build path of the dtb ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 3/9] c293pcie: c293pcie_36b.dtb -> c293pcie.dtb ting.liu
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Fabio Berton <fabio.berton@ossystems.com.br>

Create directory ${B} before do_preconfigure task creates file ${B}/.config

Fix error:

../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-fslc-imx/
4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/temp/run.do_preconfigure.16220:
line 109: ../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/
linux-fslc-imx/4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/build/.config:
No such file or directory

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 classes/fsl-kernel-localversion.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass
index 42c2b17..48e5403 100644
--- a/classes/fsl-kernel-localversion.bbclass
+++ b/classes/fsl-kernel-localversion.bbclass
@@ -23,6 +23,7 @@ kernel_conf_variable() {
 }
 
 do_preconfigure() {
+	mkdir -p ${B}
 	echo "" > ${B}/.config
 	CONF_SED_SCRIPT=""
 
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 3/9] c293pcie: c293pcie_36b.dtb -> c293pcie.dtb
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 1/9] linux-qoriq: fix build path of the dtb ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 2/9] fsl-kernel-localversion: Make sure build dir exist before create .config ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 4/9] qoriq-base.inc: set PREFERRED_VERSION_testfloat to 2a ting.liu
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 conf/machine/c293pcie.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/conf/machine/c293pcie.conf b/conf/machine/c293pcie.conf
index 19921e0..a6ddb4c 100644
--- a/conf/machine/c293pcie.conf
+++ b/conf/machine/c293pcie.conf
@@ -16,10 +16,8 @@ UBOOT_CONFIG[spi] = "C29XPCIE_SPIFLASH_config"
 UBOOT_CONFIG[secboot] = "C29XPCIE_NOR_SECBOOT_config"
 UBOOT_CONFIG[spi-secboot] = "C29XPCIE_SPIFLASH_SECBOOT_config"
 
-
-KERNEL_DEVICETREE ?= "c293pcie_36b.dtb"
+KERNEL_DEVICETREE ?= "c293pcie.dtb"
 KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/mpc85xx_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
-
 USE_VT ?= "0"
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 4/9] qoriq-base.inc: set PREFERRED_VERSION_testfloat to 2a
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
                   ` (2 preceding siblings ...)
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 3/9] c293pcie: c293pcie_36b.dtb -> c293pcie.dtb ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 5/9] usdpaa-apps: obey LDFLAGS to fix GNU_HASH error ting.liu
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

testfloat 2a has specific updates for qoriq ppc boards.
Currently no plan to refresh them to 3b release.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 conf/machine/include/qoriq-base.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 65bb170..603683a 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -10,6 +10,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-qoriq"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq"
 PREFERRED_PROVIDER_qemu = "qemu-qoriq"
+PREFERRED_VERSION_testfloat = "2a"
 
 IMAGE_CLASSES += "image_types_uboot"
 
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 5/9] usdpaa-apps: obey LDFLAGS to fix GNU_HASH error
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
                   ` (3 preceding siblings ...)
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 4/9] qoriq-base.inc: set PREFERRED_VERSION_testfloat to 2a ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 6/9] pme-tools: " ting.liu
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 .../openembedded-layer/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb
index d967312..1118276 100644
--- a/dynamic-layers/openembedded-layer/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb
+++ b/dynamic-layers/openembedded-layer/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bb
@@ -21,7 +21,7 @@ S = "${WORKDIR}/git"
 
 WRAP_ARCH ?= "${TARGET_ARCH}"
 WRAP_ARCH_ls1043ardb = "arm64"
-EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}" ARCH="${WRAP_ARCH}"'
+EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}" ARCH="${WRAP_ARCH}" EXTRA_LDFLAGS="${LDFLAGS}"'
 
 SOC ?= "P4080"
 SOC_b4 = "B4860"
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 6/9] pme-tools: obey LDFLAGS to fix GNU_HASH error
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
                   ` (4 preceding siblings ...)
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 5/9] usdpaa-apps: obey LDFLAGS to fix GNU_HASH error ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 7/9] skmm-ep: " ting.liu
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 recipes-extended/pme-tools/pme-tools_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/pme-tools/pme-tools_git.bb b/recipes-extended/pme-tools/pme-tools_git.bb
index 82df6d6..fe0210a 100644
--- a/recipes-extended/pme-tools/pme-tools_git.bb
+++ b/recipes-extended/pme-tools/pme-tools_git.bb
@@ -9,7 +9,7 @@ SRCREV = "5b6622e127ac2f3e221cc0395985ac90e2ed9533"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} USE_LTIB=1 LTIB_LIB_PATH=${STAGING_LIBDIR} SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${HOST_PREFIX}"
+EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} USE_LTIB=1 LTIB_LIB_PATH=${STAGING_LIBDIR} SYSROOT=${STAGING_DIR_TARGET} CROSS_COMPILE=${HOST_PREFIX} EXTRA_LDFLAGS="${LDFLAGS}"'
 EXTRA_CFLAGS = "-Wno-unused-but-set-parameter -Wno-enum-compare -Wno-unused-but-set-variable"
 do_compile_prepend() {
     sed -i '/rec_yyget_leng/d' compilers/regularExpression/engine/pmrec.lex
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 7/9] skmm-ep: obey LDFLAGS to fix GNU_HASH error
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
                   ` (5 preceding siblings ...)
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 6/9] pme-tools: " ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 8/9] ipc-ust: " ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 9/9] auto-resp: skip ldflags check ting.liu
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 recipes-extended/skmm-ep/skmm-ep_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb
index 82128c0..6489b8e 100644
--- a/recipes-extended/skmm-ep/skmm-ep_git.bb
+++ b/recipes-extended/skmm-ep/skmm-ep_git.bb
@@ -16,7 +16,7 @@ SRCREV = "bbf1ba00fcf407252a4c2e56783e63861088f9cb"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE}'
+EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} EXTRA_LDFLAGS="${LDFLAGS}"'
 
 export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`"
 export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`"
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 8/9] ipc-ust: obey LDFLAGS to fix GNU_HASH error
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
                   ` (6 preceding siblings ...)
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 7/9] skmm-ep: " ting.liu
@ 2016-08-12 10:43 ` ting.liu
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 9/9] auto-resp: skip ldflags check ting.liu
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 .../ipc-ust/Makefile-use-LDFLAGS-if-set.patch      | 86 ++++++++++++++++++++++
 recipes-extended/ipc-ust/ipc-ust_git.bb            |  4 +-
 2 files changed, 89 insertions(+), 1 deletion(-)
 create mode 100644 recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch

diff --git a/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch b/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch
new file mode 100644
index 0000000..e991f70
--- /dev/null
+++ b/recipes-extended/ipc-ust/ipc-ust/Makefile-use-LDFLAGS-if-set.patch
@@ -0,0 +1,86 @@
+From 4c0accfce78610e21f5d9b75725a0b9fa2c6cfb9 Mon Sep 17 00:00:00 2001
+From: Ting Liu <ting.liu@nxp.com>
+Date: Fri, 12 Aug 2016 10:41:51 +0800
+Subject: [PATCH] Makefile: use LDFLAGS if set
+
+Signed-off-by: Ting Liu <ting.liu@nxp.com>
+---
+ dsp_boot/Makefile |  6 +++---
+ fsl_shm/Makefile  |  4 ++--
+ ipc/Makefile      | 14 +++++++-------
+ 3 files changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/dsp_boot/Makefile b/dsp_boot/Makefile
+index 8f30076..59eb648 100644
+--- a/dsp_boot/Makefile
++++ b/dsp_boot/Makefile
+@@ -20,12 +20,12 @@ endif
+ all: fsl_shm lib_dsp_boot dsp_bt
+ lib_dsp_boot:
+ 	$(CC) -c ./libdspboot.c $(CFLAGS) -o ./libdspboot.o
+-	$(CC) -shared -fPIC ./libdspboot.o -o libdspboot.so
++	$(CC) -shared -fPIC $(LDFLAGS) ./libdspboot.o -o libdspboot.so
+ 	$(AR) rcs libdspboot.a ./libdspboot.o ../fsl_shm/lib/lg_shm.o
+ fsl_shm:
+-	$(CC) -c $(CFLAGS) $(SOURCES_FSL_SHM)
++	$(CC) -c $(CFLAGS) $(LDFLAGS) $(SOURCES_FSL_SHM)
+ dsp_bt:
+-	$(CC) $(CFLAGS) $(SOURCES) $(SOURCES_FSL_SHM) -L. -ldspboot -L../ipc -lipc -o $@
++	$(CC) $(CFLAGS) $(LDFLAGS) $(SOURCES) $(SOURCES_FSL_SHM) -L. -ldspboot -L../ipc -lipc -o $@
+ 	cp libdspboot.so  ../ipc/ -v
+ clean:
+ 	rm -rf *.o dsp_bt libdspboot.so *.a
+diff --git a/fsl_shm/Makefile b/fsl_shm/Makefile
+index 0042055..0b9f581 100644
+--- a/fsl_shm/Makefile
++++ b/fsl_shm/Makefile
+@@ -4,11 +4,11 @@ CFLAGS=-fPIC -I ./lib -I ./include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -W
+ 
+ all: lg_shm_lib lg_shm_test
+ lg_shm_lib:
+-	$(CC) -c ./lib/lg_shm.c $(CFLAGS) -o ./lib/lg_shm.o
++	$(CC) -c ./lib/lg_shm.c $(CFLAGS) $(LDFLAGS) -o ./lib/lg_shm.o
+ 	$(AR) rcs liblg_shm.a ./lib/lg_shm.o
+ 
+ lg_shm_test:
+-	$(CC) ./test/app.c $(CFLAGS) -L. -llg_shm -o app
++	$(CC) ./test/app.c $(CFLAGS) $(LDFLAGS) -L. -llg_shm -o app
+ 
+ clean:
+ 	rm -rf app ./lib/*.o *.a
+diff --git a/ipc/Makefile b/ipc/Makefile
+index 06599f6..cbb63d6 100644
+--- a/ipc/Makefile
++++ b/ipc/Makefile
+@@ -29,21 +29,21 @@ ipc_lib:
+ 	$(CC) -c ./lib/fsl_user_dma.c $(CFLAGS) -o ./lib/fsl_user_dma.o
+ 	$(CC) -c ./lib/fsl_ipc_lock.c $(CFLAGS) -o ./lib/fsl_ipc_lock.o
+ 	$(CC) -c ../dsp_boot/libdspboot.c $(CFLAGS2) -o ../dsp_boot/libdspboot.o
+-	$(CC) -shared -fPIC -lpthread ./lib/fsl_user_dma.o ./lib/fsl_ipc_channel.o ./lib/fsl_ipc_lock.o ../dsp_boot/libdspboot.o -L../fsl_shm -llg_shm -o libipc.so
++	$(CC) -shared -fPIC -lpthread $(LDFLAGS) ./lib/fsl_user_dma.o ./lib/fsl_ipc_channel.o ./lib/fsl_ipc_lock.o ../dsp_boot/libdspboot.o -L../fsl_shm -llg_shm -o libipc.so
+ 	$(AR) rcs libipc.a ./lib/fsl_ipc_channel.o ./lib/fsl_ipc_lock.o ../dsp_boot/libdspboot.o ./lib/fsl_user_dma.o ../fsl_shm/lib/lg_shm.o
+ 
+ mem_lib:
+ 	$(CC) -c ./lib/fsl_usmmgr.c $(CFLAGS) -o ./lib/fsl_usmmgr.o
+ 	$(CC) -c ./lib/fsl_ipc_lock.c $(CFLAGS) -o ./lib/fsl_ipc_lock.o
+-	$(CC) -shared -fPIC ./lib/fsl_usmmgr.o ./lib/fsl_ipc_lock.o -L../fsl_shm -llg_shm  -o libmem.so
++	$(CC) -shared -fPIC $(LDFLAGS) ./lib/fsl_usmmgr.o ./lib/fsl_ipc_lock.o -L../fsl_shm -llg_shm  -o libmem.so
+ 	$(AR) rcs libmem.a ./lib/fsl_usmmgr.o ./lib/fsl_ipc_lock.o ../fsl_shm/lib/lg_shm.o
+ 
+ ipc_test:
+-	$(CC) ./test/ipc_test.c $(CFLAGS) -L. -lipc -lmem -o ipc_test
+-	$(CC) ./test/ipc_test67.c $(CFLAGS) -L. -lipc -lmem -o ipc_test67
+-	$(CC) ./test/dsp_recover.c $(CFLAGS) -L. -lipc -lmem -o dsp_recover
+-	$(CC) ./test/l1_defense_app.c $(CFLAGS) -L. -lipc -lmem -o l1d_app
+-	$(CC) ./test/fsl_dump_memory.c $(CFLAGS) -L. -lipc -lmem -o dump_mem
++	$(CC) ./test/ipc_test.c $(CFLAGS) $(LDFLAGS) -L. -lipc -lmem -o ipc_test
++	$(CC) ./test/ipc_test67.c $(CFLAGS) $(LDFLAGS) -L. -lipc -lmem -o ipc_test67
++	$(CC) ./test/dsp_recover.c $(CFLAGS) $(LDFLAGS) -L. -lipc -lmem -o dsp_recover
++	$(CC) ./test/l1_defense_app.c $(CFLAGS) $(LDFLAGS) -L. -lipc -lmem -o l1d_app
++	$(CC) ./test/fsl_dump_memory.c $(CFLAGS) $(LDFLAGS) -L. -lipc -lmem -o dump_mem
+ 
+ clean:
+ 	rm -rf dump_mem ipc_test ipc_test67 dsp_recover l1d_app ./lib/*.o *.a *.so
+-- 
+1.9.2
+
diff --git a/recipes-extended/ipc-ust/ipc-ust_git.bb b/recipes-extended/ipc-ust/ipc-ust_git.bb
index c2f30e8..6e788e7 100644
--- a/recipes-extended/ipc-ust/ipc-ust_git.bb
+++ b/recipes-extended/ipc-ust/ipc-ust_git.bb
@@ -3,7 +3,9 @@ DESCRIPTION = "DSP boot application and ipc test application"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fa38cd73d71527dc6efb546474f64d10"
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/ipc.git;branch=sdk-v2.0.x"
+SRC_URI = "git://git.freescale.com/ppc/sdk/ipc.git;branch=sdk-v2.0.x \
+    file://Makefile-use-LDFLAGS-if-set.patch \
+"
 SRCREV = "74d662707558290f070f9589177db730444bc435"
 
 S = "${WORKDIR}/git"
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-freescale-layer][PATCH 9/9] auto-resp: skip ldflags check
  2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
                   ` (7 preceding siblings ...)
  2016-08-12 10:43 ` [meta-freescale-layer][PATCH 8/9] ipc-ust: " ting.liu
@ 2016-08-12 10:43 ` ting.liu
  8 siblings, 0 replies; 10+ messages in thread
From: ting.liu @ 2016-08-12 10:43 UTC (permalink / raw)
  To: meta-freescale

From: Ting Liu <ting.liu@nxp.com>

Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
 recipes-kernel/kernel-modules/kernel-module-ar_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb
index a5b9eb0..1087e23 100644
--- a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb
@@ -26,5 +26,5 @@ do_install(){
 }
 
 FILES_${PN} += "${bindir}/"
-
+INSANE_SKIP_${PN} = "ldflags"
 COMPATIBLE_MACHINE = "(t1040|t1042)"
-- 
1.9.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-12 10:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-12 10:43 [meta-freescale-layer][PATCH 0/9] QorIQ patches ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 1/9] linux-qoriq: fix build path of the dtb ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 2/9] fsl-kernel-localversion: Make sure build dir exist before create .config ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 3/9] c293pcie: c293pcie_36b.dtb -> c293pcie.dtb ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 4/9] qoriq-base.inc: set PREFERRED_VERSION_testfloat to 2a ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 5/9] usdpaa-apps: obey LDFLAGS to fix GNU_HASH error ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 6/9] pme-tools: " ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 7/9] skmm-ep: " ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 8/9] ipc-ust: " ting.liu
2016-08-12 10:43 ` [meta-freescale-layer][PATCH 9/9] auto-resp: skip ldflags check ting.liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.