summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Wesp <n.wesp@phytec.de>2020-02-07 09:00:46 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2020-02-07 09:23:49 (GMT)
commit53508a65f4576181d92550a0f0e1b2a81a405b9d (patch)
tree20a16dfffcd7d9a008f0dbded06718074ecfcdd3
parente8f690df25b9ee63ea22639811aef0ab85b22486 (diff)
downloadmeta-phytec-sumo.zip
meta-phytec-sumo.tar.bz2
dynamic-layers: fsl-bsp-release: imx-test: override install task2.5.3-phy13sumo
Right now imx-test and base-files both want to install the file '.profile' to the target, which result in an build error. So we have to override the do_install task of imx-test and remove the installation of this file to get a working build again. To drop this file of nxp should be no problem, as this only add an comfortable 'complete' line: complete -o nospace -C /unit_tests/memtool memtool Signed-off-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--dynamic-layers/fsl-bsp-release/recipes-bsp/imx-test/imx-test_%.bbappend11
1 files changed, 11 insertions, 0 deletions
diff --git a/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-test/imx-test_%.bbappend b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-test/imx-test_%.bbappend
new file mode 100644
index 0000000..e2a568b
--- /dev/null
+++ b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-test/imx-test_%.bbappend
@@ -0,0 +1,11 @@
+do_install() {
+ oe_runmake DESTDIR=${D}/unit_tests \
+ PLATFORM=${PLATFORM} \
+ install
+
+ if [ -e ${WORKDIR}/clocks.sh ]; then
+ install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
+ fi
+}
+
+FILES_${PN}_remove = "/home/root/.profile"