mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -37,8 +37,8 @@ S = "${WORKDIR}/git"
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_install:append() {
|
||||
if [ -e ${WORKDIR}/iana-enterprise-numbers ]; then
|
||||
install -Dm 0755 ${WORKDIR}/iana-enterprise-numbers ${D}${datadir}/misc/enterprise-numbers
|
||||
if [ -e ${UNPACKDIR}/iana-enterprise-numbers ]; then
|
||||
install -Dm 0755 ${UNPACKDIR}/iana-enterprise-numbers ${D}${datadir}/misc/enterprise-numbers
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ SUMMARY = "Kernel selftest for Linux"
|
||||
DESCRIPTION = "Kernel selftest for Linux"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
|
||||
DEPENDS = "rsync-native llvm-native"
|
||||
|
||||
@@ -120,7 +120,7 @@ do_install() {
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
install -D -m 0644 ${WORKDIR}/COPYING ${S}/COPYING
|
||||
install -D -m 0644 ${UNPACKDIR}/COPYING ${S}/COPYING
|
||||
}
|
||||
|
||||
do_patch[prefuncs] += "copy_kselftest_source_from_kernel remove_unrelated"
|
||||
|
||||
@@ -41,8 +41,8 @@ do_configure:prepend() {
|
||||
#
|
||||
# logo support, if you supply logo_linux_clut224.ppm in SRC_URI, then it's going to be used
|
||||
#
|
||||
if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then
|
||||
install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
|
||||
if [ -e ${UNPACKDIR}/logo_linux_clut224.ppm ]; then
|
||||
install -m 0644 ${UNPACKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
|
||||
kernel_conf_variable LOGO y
|
||||
kernel_conf_variable LOGO_LINUX_CLUT224 y
|
||||
fi
|
||||
|
||||
@@ -36,9 +36,9 @@ do_install:append() {
|
||||
cp -rf ${S}/etc/* ${D}/${sysconfdir}/
|
||||
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/minicoredumper.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/minicoredumper.service ${D}${systemd_system_unitdir}
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper
|
||||
install -m 0755 ${UNPACKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper
|
||||
|
||||
# correct path of minicoredumper
|
||||
sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${sysconfdir}/init.d/minicoredumper
|
||||
|
||||
@@ -43,7 +43,7 @@ inherit autotools pkgconfig ptest
|
||||
|
||||
EXTRA_OECONF = "--with-kernel=${STAGING_DIR_HOST}${prefix} --without-x ac_cv_prog_XSLTPROC="
|
||||
do_configure () {
|
||||
cp ${WORKDIR}/acinclude.m4 ${S}/
|
||||
cp ${UNPACKDIR}/acinclude.m4 ${S}/
|
||||
autotools_do_configure
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ processor frequency and idle power saving state residency on supported \
|
||||
processors."
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
|
||||
COMPATIBLE_HOST:libc-musl = "null"
|
||||
|
||||
@@ -50,7 +50,7 @@ do_configure:prepend() {
|
||||
cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
|
||||
fi
|
||||
cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
|
||||
cp -r ${WORKDIR}/COPYING ${S}
|
||||
cp -r ${UNPACKDIR}/COPYING ${S}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user