c312d9f39a
AF_RXRPC imposes a 49 char limit on UTS_RELEASE, but building with BUILD_NUMBER=P12345678 bazel build //common:kernel_x86_64_allmodconfig --config=stamp requires more than 49 chars in UTS_RELEASE. Hence, this module is disabled for allmodconfig. Bug: 273576197 Test: ABTD Change-Id: Ife604db109f870eda2fdbc0668d6bd1f4e4e906e Signed-off-by: Yifan Hong <elsk@google.com>
19 lines
514 B
Plaintext
19 lines
514 B
Plaintext
DEFCONFIG=allmodconfig
|
|
|
|
POST_DEFCONFIG_CMDS="update_config"
|
|
function update_config() {
|
|
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
|
|
-e UNWINDER_FRAME_POINTER \
|
|
-d WERROR \
|
|
-d SAMPLES \
|
|
-d BPFILTER \
|
|
-e RANDSTRUCT_NONE \
|
|
-d RANDSTRUCT_FULL \
|
|
-d RANDSTRUCT \
|
|
-d AF_RXRPC \
|
|
-d AFS_FS \
|
|
|
|
(cd ${OUT_DIR} && \
|
|
make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} ${TOOL_ARGS} ${MAKE_ARGS} olddefconfig)
|
|
}
|