/*++ 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; }