From: Denys Dmytriyenko <[email protected]>

Since new custom linux-libc-headers now contains necessary files, update
switch-config to be machine-agnostic.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb 
b/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb
index cf2ccdd..2fd9d3b 100644
--- a/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb
+++ b/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb
@@ -2,12 +2,8 @@ DESCRIPTION = "Ethernet Switch configuration management"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75"
 
-DEPENDS = "virtual/kernel"
-
 PV = "2.0"
-PR = "r0"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PR = "r1"
 
 BRANCH ?= "v4.1"
 SRCREV = "669334329dff132c4a093351d48252b12e995b6c"
@@ -19,9 +15,6 @@ S = "${WORKDIR}/git"
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 
 do_configure() {
-       mkdir -p ${S}/linux
-       cp ${STAGING_KERNEL_DIR}/include/uapi/linux/net_switch_config.h 
${S}/linux
-       cp ${STAGING_KERNEL_DIR}/include/uapi/linux/sockios.h ${S}/linux
        sed 's|-I$(KBUILD_OUTPUT)/usr/include|${TOOLCHAIN_OPTIONS} -I.|' -i 
${S}/Makefile
 }
 
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to