From 6cc6b007f7e7cb2337f9c2f63682235a19c258b4 Mon Sep 17 00:00:00 2001 From: Tejas Manhas Date: Fri, 7 Jun 2024 11:53:46 +0530 Subject: [PATCH] Test_binaries for build bisection Added make.sh for kernel build bisection Signed-off-by: Tejas Manhas --- test_binaries/make.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test_binaries/make.sh diff --git a/test_binaries/make.sh b/test_binaries/make.sh new file mode 100644 index 000000000..dc8e27958 --- /dev/null +++ b/test_binaries/make.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# OpenPOWER Automated Test Project +# +# Contributors Listed Below - COPYRIGHT 2024 +# [+] International Business Machines Corp. +# +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +nproc=`nproc` +yes "" | make olddefconfig /dev/null 2>&1 +make -j$nproc -S vmlinux > /dev/null 2>&1