blob: 9d11509d04b1231995e0928c3631d964843d14de [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "Mmap binary used to test smack mmap attribute"
2DESCRIPTION = "Mmap binary used to test smack mmap attribute"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6SRC_URI = "file://mmap.c"
7
8S = "${WORKDIR}"
9do_compile() {
10 ${CC} mmap.c ${LDFLAGS} -o mmap_test
11}
12
13do_install() {
14 install -d ${D}${bindir}
15 install -m 0755 mmap_test ${D}${bindir}
16}