mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
unzip: Convert to use BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
bb4dfbf39b
commit
91a071b469
|
|
@ -1,8 +0,0 @@
|
|||
SECTION = "console/utils"
|
||||
inherit native
|
||||
require unzip_${PV}.bb
|
||||
|
||||
do_stage() {
|
||||
install -d ${STAGING_BINDIR}
|
||||
install unzip ${STAGING_BINDIR}
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@ SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz"
|
|||
S = "${WORKDIR}/unzip-5.52"
|
||||
|
||||
export LD = "${CC}"
|
||||
LD_virtclass-native = "${CC}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -f unix/Makefile generic
|
||||
|
|
@ -18,4 +19,5 @@ do_install() {
|
|||
mv ${D}${prefix}/man/* ${D}${mandir}
|
||||
}
|
||||
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
NATIVE_INSTALL_WORKS = "1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user