blob: 0fae976f2512df187b99d1a5391932d0485eda00 [file] [log] [blame]
Andrew Walbranbc342d42019-02-05 16:56:02 +00001# Copyright 2019 The Hafnium Authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
David Brazdil3f509e02019-07-01 12:42:25 +010015import("//build/linux/linux.gni")
16
17linux_kernel_module("linux") {
18 module_name = "hafnium"
19 kernel_target = "//third_party:linux"
20 kernel_src_dir = "//third_party/linux"
Andrew Walbranbc342d42019-02-05 16:56:02 +000021 sources = [
22 "linux/Makefile",
23 "linux/hf_call.S",
24 "linux/main.c",
25 ]
Andrew Walbranbc342d42019-02-05 16:56:02 +000026}