blob: 00790c8e05dd2659cf69aa3f105a727150144004 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
DESCRIPTION = "CEETM TC QDISC"
LICENSE = "GPLv2 & BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=bac620b9883d38a84dfb73ca7122d915"
SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ceetm;nobranch=1"
SRCREV = "6a7f2ec2091df2f4380cb8d25a36c399aed5af1b"
SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \
file://0001-use-new-api-tc_print_rate.patch \
"
DEPENDS = "iproute2"
S = "${WORKDIR}/git"
export IPROUTE2_DIR="${STAGING_DIR_TARGET}"
WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
LDFLAGS += "${TOOLCHAIN_OPTIONS}"
do_install(){
mkdir -p ${D}/${libdir}/tc
cp ${S}/q_ceetm.so ${D}/${libdir}/tc/
}
FILES:${PN} += "${libdir}/tc"
INHIBIT_PACKAGE_STRIP = "1"
COMPATIBLE_MACHINE = "(qoriq)"
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
|