]> code.ossystems Code Review - openembedded-core.git/commitdiff
cross: Drop unused do_install
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Sep 2021 20:26:02 +0000 (21:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Sep 2021 22:44:04 +0000 (23:44 +0100)
All the users of the cross class I could find redefine the do_install
function. It is unusual and likely undesirable for the class to be
changing this from the default and likely a leftover from different
times. Remove it as it isn't doing anything.

[YOCTO #9272]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross.bbclass

index 00e0de84f39faa205ed4ea6745895c6d83308618..3e6a2f60b9e1651717ee05c867e74572538ba497 100644 (file)
@@ -72,10 +72,6 @@ libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}"
 do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/"
 do_packagedata[stamp-extra-info] = ""
 
-do_install () {
-       oe_runmake 'DESTDIR=${D}' install
-}
-
 USE_NLS = "no"
 
 export CC = "${BUILD_CC}"