blob: 9be199f1e8ad7e22381e3acd7dfe31972957a6d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
SECTION = "console/utils"
LICENSE= "GPL"
DESCRIPTION = "Console utility for transferring a SIMpad boot image via serial a SIMpad"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/serload"
SRC_URI = "file://serialdownload.cpp file://main.cpp file://serialdownload.h"
inherit native
do_compile() {
cp ${WORKDIR}/*.h ${WORKDIR}/*.cpp .
${CXX} -I. -o serload main.cpp serialdownload.cpp
}
do_stage() {
install -m 0755 serload ${STAGING_BINDIR}/
}
|