mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user