]> code.ossystems Code Review - meta-freescale.git/commitdiff
iproute2: add bbappend
authorChunrong Guo <chunrong.guo@nxp.com>
Thu, 9 Nov 2017 07:13:07 +0000 (15:13 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 10 Nov 2017 16:00:00 +0000 (14:00 -0200)
*install head file of iproute2
So that we can use them outside of iproute2 package

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-connectivity/iproute2/iproute2_%.bbappend [new file with mode: 0644]

diff --git a/recipes-connectivity/iproute2/iproute2_%.bbappend b/recipes-connectivity/iproute2/iproute2_%.bbappend
new file mode 100644 (file)
index 0000000..4426eca
--- /dev/null
@@ -0,0 +1,5 @@
+do_install_append () {
+    install -d ${D}/usr/include/tc 
+    cp -a ${B}/include  ${D}/usr/include
+    cp -a ${B}/tc/*.h    ${D}/usr/include/tc
+}