123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- /*++
- Copyright (c) 2015 Minoca Corp.
- This file is licensed under the terms of the GNU General Public License
- version 3. Alternative licensing terms are available. Contact
- info@minocacorp.com for details. See the LICENSE file at the root of this
- project for complete licensing information.
- Module Name:
- BCM2709 UEFI Device Library
- Abstract:
- This library contains support for the BCM2709 SoC's devices.
- Author:
- Chris Stevens 18-Mar-2015
- Environment:
- Firmware
- --*/
- from menv import kernelLibrary;
- function build() {
- var entries;
- var includes;
- var lib;
- var sources;
- var sourcesConfig;
- sources = [
- "gpio.c",
- "init.c",
- "intr.c",
- "mailbox.c",
- "memmap.c",
- "pwm.c",
- "sd.c",
- "serial.c",
- "timer.c",
- "usb.c",
- "video.c",
- ];
- includes = [
- "$S/uefi/include"
- ];
- sourcesConfig = {
- "CFLAGS": ["-fshort-wchar"],
- };
- lib = {
- "label": "bcm2709",
- "inputs": sources,
- "sources_config": sourcesConfig,
- "includes": includes
- };
- entries = kernelLibrary(lib);
- return entries;
- }
|