diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-14 10:45:23 +0200 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-14 10:46:23 +0200 |
commit | b38629953bd2e950016da7b5f846261893cc2fab (patch) | |
tree | d27ea168e48e33e23356e699c2767746b707d129 | |
parent | aa3b4c7722b7fe3386f72990610571f83a45e830 (diff) |
serload-native: Removing legacy staging
* Replaced do_stage function with do_install and replaced ${STAGING_BINDIR} with ${D}${bindir}
* removed FILES_DIR
* added PR
* ran through oe-stylize
Signed-off-by: Ahsan, Noor <noor_ahsan@mentor.com>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-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" |