aos/usr/drivers/enet/Hakefile
2022-05-27 19:11:22 +02:00

35 lines
987 B
Plaintext

--------------------------------------------------------------------------
-- Copyright (c) 2019, ETH Zurich.
-- All rights reserved.
--
-- This file is distributed under the terms in the attached LICENSE file.
-- If you do not find this file, copies can be found by writing to:
-- ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group.
--
-- Hakefile for /usr/drivers/enet imx8 network driver
--
--------------------------------------------------------------------------
[
build library {
target = "devif_backend_enet",
cFiles = ["enet_devq.c"],
mackerelDevices = ["imx8x/enet"],
addLibraries = libDeps ["devif_internal", "devif"],
architectures = ["armv8"]
},
build application {
target = "enet",
cFiles = [
"enet_module.c",
"enet_proto.c"
],
mackerelDevices = ["imx8x/enet"],
addLibraries = libDeps ["devif_backend_enet", "netutil"],
architectures = ["armv8"]
}
]