xref: /OK3568_Linux_fs/yocto/meta-rockchip/recipes-devtools/io/io.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# Copyright (c) 2019, Fuzhou Rockchip Electronics Co., Ltd
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4DESCRIPTION = "Memory accesses tool"
5SECTION = "devel"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
8
9SRC_URI = "file://io.c"
10
11S = "${WORKDIR}"
12
13do_compile() {
14	${CC} ${CFLAGS} ${LDFLAGS} io.c -o io
15}
16
17do_install() {
18	install -d ${D}${bindir}
19	install -m 0755 io ${D}${bindir}
20}
21