mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-09 21:11:16 +00:00
731d4b3d02
We are moving the meta-arago-test layer to meta-ti-test. This commit imports all of the recipes under recipes-bsp. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
28 lines
808 B
BlitzBasic
28 lines
808 B
BlitzBasic
SUMMARY = "Ethernet Switch configuration management"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75"
|
|
|
|
PV = "2.0"
|
|
PR = "r5"
|
|
|
|
BRANCH ?= "v4.1"
|
|
BRANCH:aarch64 ?= "am65x-v1.0"
|
|
|
|
SRCREV = "412dce4e65cfe5af729be38fd1b4c1d59e9a8828"
|
|
SRCREV:aarch64 = "0f52dcb3c4e3678e96427d546d6c2e1fabc2ad91"
|
|
|
|
SRC_URI = "git://git.ti.com/git/switch-config/switch-config.git;protocol=https;branch=${BRANCH}"
|
|
|
|
SRC_URI += "file://0001-Use-proper-definition-of-boolean-type.patch"
|
|
|
|
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
|
|
|
|
do_configure() {
|
|
sed 's|-I$(KBUILD_OUTPUT)/usr/include|${TOOLCHAIN_OPTIONS} -I.|' -i ${S}/Makefile
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}/
|
|
install -c -m 755 ${S}/switch-config ${D}${bindir}/switch-config
|
|
}
|