Makefile (193d9e768ba63fcfb187cfd17f461f7d41345048) | Makefile (f1a48eaf0dc620729bca82c109c36fcbfe9c0482) |
---|---|
1# 2# Copyright (c) 2012 Adrian Chadd, Xenion Pty Ltd 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 32.PATH: ${SRCTOP}/sys/dev/gpio/ 33 34KMOD= gpiobus 35SRCS= gpiobus.c gpioc.c 36SRCS+= gpio_if.c gpio_if.h gpiobus_if.c gpiobus_if.h ofw_bus_if.h 37SRCS+= device_if.h bus_if.h opt_platform.h 38 | 1# 2# Copyright (c) 2012 Adrian Chadd, Xenion Pty Ltd 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions 7# are met: 8# 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 32.PATH: ${SRCTOP}/sys/dev/gpio/ 33 34KMOD= gpiobus 35SRCS= gpiobus.c gpioc.c 36SRCS+= gpio_if.c gpio_if.h gpiobus_if.c gpiobus_if.h ofw_bus_if.h 37SRCS+= device_if.h bus_if.h opt_platform.h 38 |
39.if !empty(OPT_FDT) 40SRCS+= ofw_gpiobus.c 41.endif 42 |
|
39CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ 40 41.include <bsd.kmod.mk> | 43CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ 44 45.include <bsd.kmod.mk> |