Skip to content

Commit

Permalink
build: Prepare configs for kernel build
Browse files Browse the repository at this point in the history
Signed-off-by: Saalim Quadri <danascape@gmail.com>
  • Loading branch information
danascape committed May 21, 2023
1 parent 23e3de5 commit cb1b17b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.config.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ ARCH=arm64

CLANG_TRIPLE=aarch64-linux-gnu-
CROSS_COMPILE=aarch64-linux-androidkernel-
CROSS_COMPILE_ARM32=arm-linux-androideabi-
CROSS_COMPILE_COMPAT=$CROSS_COMPILE_ARM32
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
LINUX_GCC_CROSS_COMPILE_ARM32_PREBUILTS_BIN=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin
LINUX_GCC_CROSS_COMPILE_COMPAT_PREBUILTS_BIN=$LINUX_GCC_CROSS_COMPILE_ARM32_PREBUILTS_BIN

FILES="
arch/arm64/boot/Image
Expand Down
2 changes: 2 additions & 0 deletions build.config.common
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-r383902/bin
BUILDTOOLS_PREBUILT_BIN=build/build-tools/path/linux-x86

EXTRA_CMDS=''
LD_LIBRARY_PATH=${ROOT_DIR}/prebuilts-master/clang/host/linux-x86/clang-r383902/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
STOP_SHIP_TRACEPRINTK=1
5 changes: 5 additions & 0 deletions build.config.ginkgo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.aarch64

DEFCONFIG=vendor/ginkgo-perf_defconfig
POST_DEFCONFIG_CMDS="check_defconfig"

0 comments on commit cb1b17b

Please sign in to comment.