pseudo_git.bb 1.2 KB

123456789101112131415161718192021222324252627
  1. require pseudo.inc
  2. SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
  3. file://fallback-passwd \
  4. file://fallback-group \
  5. "
  6. SRC_URI:append:class-native = " \
  7. http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
  8. file://older-glibc-symbols.patch"
  9. SRC_URI:append:class-nativesdk = " \
  10. http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
  11. file://older-glibc-symbols.patch"
  12. SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
  13. SRCREV = "2c43381180f9cfef4c0a8bb0c1658a86c3fcc876"
  14. S = "${WORKDIR}/git"
  15. PV = "1.9.0+git"
  16. # largefile and 64bit time_t support adds these macros via compiler flags globally
  17. # remove them for pseudo since pseudo intercepts some of the functions which will be
  18. # aliased due to this e.g. open/open64 and it will complain about duplicate definitions
  19. # pseudo on 32bit systems is not much of use anyway and these features are not of much
  20. # use for it.
  21. TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
  22. # error: use of undeclared identifier '_STAT_VER'
  23. COMPATIBLE_HOST:libc-musl = 'null'