summaryrefslogtreecommitdiff
path: root/recipes/mdk/mdk2_v33.bb
blob: e167be347caf0da7646bccc6b7e15d97be425605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SECTION = "console/network"
DESCRIPTION = "ASPj is drunk"
HOMEPAGE = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/"
LICENSE = "GPLv2"
DEPENDS = ""
RDEPENDS = ""
PR ="r1"

SRC_URI = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/mdk2-${PV}.tar.bz2 \
	   file://mdk2-ppcfix.patch"

LDFLAGS_append = " -lpthread"
CFLAGS_append = " -I${STAGING_KERNEL_DIR}/include -O3 -pthread"

oe_compile() {
        oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LD="${LD}" LDFLAGS="${LDFLAGS}"
}

do_install() {
        install -d ${D}/${sbindir}
        install -m 0755 mdk2       ${D}/${sbindir}
}