mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
gcc-native: Convert to stage using do_install
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -15,12 +15,10 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
|
||||
--enable-target-optspace \
|
||||
--program-prefix=${TARGET_PREFIX}"
|
||||
|
||||
NATIVE_INSTALL_WORKS = "1"
|
||||
do_install () {
|
||||
:
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
cd gcc
|
||||
oe_runmake install-common install-headers install-libgcc
|
||||
install -m 0755 xgcc ${STAGING_BINDIR}/gcc-${PV}
|
||||
oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc
|
||||
install -d ${D}${bindir}/
|
||||
install -m 0755 xgcc ${D}${bindir}/gcc-${PV}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user