mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 10:29:40 +01:00
Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).
A few recipes are setting S to a sub-directory of the git tree and need
to be adjusted accordingly.
bzip2 recipe is fetching a tarball and separately cloning tests;
adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'.
devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly.
Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack
destination.
Adjust kernel-yocto.bbclass to use the git unpack variable instead
of hardcoding 'git' (there's also removal of repetition of
string constants and a correction of workdir/unpackdir mismatch in
one of the if-else branches).
Ensure build-appliance-image recipe does not use 'git' as checkout directory for
poky repo, but rather explicitly name it 'poky'.
Ensure reproducible.py code that looks for git repositories does not
hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX.
Ensure recipetool does not write out unneeded S settings into newly
created recipes that fetch from git.
Adjust selftest to not hardcode 'git' as unpack directory.
(From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.8 KiB
BlitzBasic
34 lines
1.8 KiB
BlitzBasic
require pseudo.inc
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
|
|
file://fallback-passwd \
|
|
file://fallback-group \
|
|
"
|
|
SRC_URI:append:class-native = " \
|
|
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/prebuilt;name=prebuilt \
|
|
file://older-glibc-symbols.patch"
|
|
SRC_URI:append:class-nativesdk = " \
|
|
http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/prebuilt;name=prebuilt \
|
|
file://older-glibc-symbols.patch"
|
|
SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
|
|
|
|
SRCREV = "2c43381180f9cfef4c0a8bb0c1658a86c3fcc876"
|
|
PV = "1.9.0+git"
|
|
|
|
# largefile and 64bit time_t support adds these macros via compiler flags globally
|
|
# remove them for pseudo since pseudo intercepts some of the functions which will be
|
|
# aliased due to this e.g. open/open64 and it will complain about duplicate definitions
|
|
# pseudo on 32bit systems is not much of use anyway and these features are not of much
|
|
# use for it.
|
|
TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
|
|
|
|
# error: use of undeclared identifier '_STAT_VER'
|
|
COMPATIBLE_HOST:libc-musl = 'null'
|
|
|
|
#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
|
|
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
|
|
#| ^
|
|
#| ./ports/linux/pseudo_wrappers.c:80:57: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration]
|
|
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
|
|
TOOLCHAIN = "gcc"
|