Difference between revisions of "NSS Development"

From Dogtag
Jump to: navigation, search
m
m (Variables)
Line 1: Line 1:
= Variables =
 
 
build.sh:
 
 
<pre>
 
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}
 
</pre>
 
 
arch.mk:
 
 
<pre>
 
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
 
</pre>
 
 
 
= Upstream Development =
 
= Upstream Development =
  

Revision as of 20:10, 22 July 2022

Upstream Development

See NSS Upstream Development.

Downstream Development

References