diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/simpad-utilities/serload-native.bb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/recipes/simpad-utilities/serload-native.bb b/recipes/simpad-utilities/serload-native.bb index 9be199f1e8..cc5da73f83 100644 --- a/recipes/simpad-utilities/serload-native.bb +++ b/recipes/simpad-utilities/serload-native.bb @@ -1,16 +1,19 @@ -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" +SECTION = "console/utils" +LICENSE = "GPL" +PR = "r1" + 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 + cp ${WORKDIR}/*.h ${WORKDIR}/*.cpp . + ${CXX} -I. -o serload main.cpp serialdownload.cpp } - -do_stage() { - install -m 0755 serload ${STAGING_BINDIR}/ +do_install() { + install -d ${D}${bindir}/ + install -m 0755 serload ${D}${bindir}/ } + +NATIVE_INSTALL_WORKS = "1" |