Difference between revisions of "NSS Development"

From Dogtag
Jump to: navigation, search
m (Downstream Development)
m
Line 45: Line 45:
  
 
* [[NSS]]
 
* [[NSS]]
* [[NSS API]]
+
* [https://github.com/dogtagpki/nss/wiki/Programming-Guide Programming Guide]
 
* [https://bugzilla.mozilla.org/ bugzilla.mozilla.org]
 
* [https://bugzilla.mozilla.org/ bugzilla.mozilla.org]
 
* [https://clang.llvm.org/docs/ClangFormat.html clang-format]
 
* [https://clang.llvm.org/docs/ClangFormat.html clang-format]

Revision as of 19:59, 22 July 2022

Variables

build.sh:

OS_TARGET=`uname -s`
OS_RELEASE=`uname -r | sed 's/-.*//' | sed 's/-.*//' | cut -d . -f1,2`
CPU_TAG=_`uname -m`

OBJDIR_NAME_COMPILER=_cc
LIBC_TAG=_glibc
IMPL_STRATEGY=_PTH
if [ "${RUN_BITS}" = "64" ]; then
    OBJDIR_TAG=_${RUN_BITS}_${RUN_OPT}.OBJ
else
    OBJDIR_TAG=_${RUN_OPT}.OBJ
fi

NSS_OBJDIR_NAME=${OS_TARGET}${OS_RELEASE}${CPU_TAG}${OBJDIR_NAME_COMPILER}
NSS_OBJDIR_NAME=${NSS_OBJDIR_NAME}${LIBC_TAG}${IMPL_STRATEGY}${OBJDIR_TAG}

arch.mk:

ifdef CROSS_COMPILE
    OBJDIR_NAME_COMPILER =
else
    OBJDIR_NAME_COMPILER = $(COMPILER_TAG)
endif
OBJDIR_NAME_BASE = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(OBJDIR_NAME_COMPILER)$(LIBC_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG)
OBJDIR_NAME = $(OBJDIR_NAME_BASE).OBJ

Upstream Development

See NSS Upstream Development.

Downstream Development

References