OSDN Git Service

kernel.mk: allow to build kernel with clang
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 28 Jun 2018 09:49:47 +0000 (17:49 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 28 Jun 2018 09:49:47 +0000 (17:49 +0800)
commitd12f682733a0055c24d61d4d363fe86cd3d9c1ef
tree53bcbc214c8cd60d9ee8c6f3ef8b324880d1604d
parente0b0df2a15e2c997ea9bac8a6ff2a24a9fb9a6a9
kernel.mk: allow to build kernel with clang

To enable clang building, set BUILD_KERNEL_WITH_CLANG=true in the
BoardConfig.mk or buildspec.mk.

Currently only 64-bit kernel is buildable with clang.
build/tasks/kernel.mk