summaryrefslogtreecommitdiff
path: root/simpad-utilities/serload-native.oe
blob: ee15cabc605b4a118173222f2f91f10d706eb4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
DESCRIPTION = "Console utility for transferring a SIMpad boot image via serial a SIMpad"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/serload"

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}/
}