Lines Matching +full:timestamp +full:- +full:names
2 # SPDX-License-Identifier: GPL-2.0
9 # (not within --whole-archive), and do not require symbol indexes added.
14 # +--< vmlinux.a
16 # +--< $(KBUILD_VMLINUX_LIBS)
17 # | +--< lib/lib.a + more
19 # +-< ${kallsymso} (see description in KALLSYMS section)
21 # vmlinux version (uname -v) cannot be updated during normal
22 # descending-into-subdirs phase since we do not yet know if we need to
29 set -e
37 grep -q "^$1=y" include/config/auto.conf
41 # Will be supressed by "make -s"
44 printf " %-7s %s\n" "${1}" "${2}"
48 # ${1} - output file
73 objs="${objs} .builtin-dtbs.o"
80 objs="${objs} init/version-timestamp.o"
83 wl=-Wl,
86 ldlibs="-lutil -lrt -lpthread"
94 ldflags="${ldflags} ${wl}--script=${objtree}/${KBUILD_LDS}"
97 if [ -n "${strip_debug}" ] ; then
98 ldflags="${ldflags} ${wl}--strip-debug"
101 if [ -n "${generate_map}" ]; then
102 ldflags="${ldflags} ${wl}-Map=vmlinux.map"
105 ${ld} ${ldflags} -o ${output} \
106 ${wl}--whole-archive ${objs} ${wl}--no-whole-archive \
107 ${wl}--start-group ${libs} ${wl}--end-group \
112 # ${1} - vmlinux image
118 LLVM_OBJCOPY="${OBJCOPY}" ${PAHOLE} -J ${PAHOLE_FLAGS} ${1}
121 # SHF_ALLOC because .BTF will be part of the vmlinux image. --strip-all
125 ${OBJCOPY} --only-section=.BTF --set-section-flags .BTF=alloc,readonly \
126 --strip-all ${1} "${btf_data}" 2>/dev/null
145 kallsymopt="${kallsymopt} --all-symbols"
153 ${KBUILD_AFLAGS} ${KBUILD_AFLAGS_KERNEL} -c -o "${2}.o" "${2}.S"
172 ${NM} -n "${1}" | sed -f "${srctree}/scripts/mksysmap" > "${2}"
177 ${NM} -S ${1} > .tmp_vmlinux.nm-sort
178 ${objtree}/scripts/sorttable -s .tmp_vmlinux.nm-sort ${1}
183 rm -f .btf.*
184 rm -f .tmp_vmlinux.nm-sort
185 rm -f System.map
186 rm -f vmlinux
187 rm -f vmlinux.map
193 set -x
202 ${MAKE} -f "${srctree}/scripts/Makefile.build" obj=init init/version-timestamp.o
253 # introduces new names, which further expands kallsyms. Do another
267 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
271 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
273 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
292 RESOLVE_BTFIDS_ARGS=" --fatal_warnings "
309 if ! cmp -s System.map "${kallsyms_sysmap}"; then