u-boot-mkimage-native: Convert to use do_install for staging

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-11-17 21:49:29 +00:00
parent b36dcf3a48
commit c5f2ff91f6
1 changed files with 7 additions and 5 deletions

View File

@ -12,11 +12,13 @@ inherit native
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
do_compile () {
oe_runmake smdk2410_config
oe_runmake tools
oe_runmake smdk2410_config
oe_runmake tools
}
do_stage () {
install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage
ln -sf ${STAGING_BINDIR_NATIVE}/uboot-mkimage ${STAGING_BINDIR_NATIVE}/mkimage
NATIVE_INSTALL_WORKS = "1"
do_install () {
install -d ${D}${bindir}/
install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
ln -sf uboot-mkimage ${D}${bindir}/mkimage
}