recipes: WORKDIR -> UNPACKDIR transition

* WORKDIR -> UNPACKDIR transition
* Switch away from S = WORKDIR

Signed-off-by: Changqing Li <changqing.li@windriver.com>
[Fixed up the smack changes due to prior patch]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Changqing Li
2024-05-28 13:44:06 +08:00
committed by Armin Kuster
parent 651767d028
commit ceb47a8a39
9 changed files with 32 additions and 31 deletions
@@ -31,8 +31,8 @@ do_install:append() {
do_compile_ptest() {
if [ ! -d ${S}/demo ]; then mkdir ${S}/demo; fi
cp ${WORKDIR}/Makefile.test ${S}/demo/Makefile
cp ${WORKDIR}/mhash.c ${S}/demo/
cp ${UNPACKDIR}/Makefile.test ${S}/demo/Makefile
cp ${UNPACKDIR}/mhash.c ${S}/demo/
make -C ${S}/demo CFLAGS="${CFLAGS} -I${S}/include/" LDFLAGS="${LDFLAGS} -L${S}/lib/.libs"
}