head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.01.52.54;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2011.12.30.21.22.10;	author marius;	state Exp;
branches;
next	1.1;

1.1
date	2011.12.30.03.48.39;	author marcel;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/cfi/Makefile 229032 2011-12-30 21:22:10Z marius $

.PATH: ${.CURDIR}/../../dev/cfi

KMOD=   cfi
SRCS=   ${_cfi_bus} cfi_core.c cfi_dev.c
SRCS+=  bus_if.h device_if.h opt_cfi.h

.if ${MACHINE} == "arm"
_cfi_bus=	cfi_bus_fdt.c cfi_bus_ixp4xx.c ofw_bus_if.h
.endif
.if ${MACHINE} == "powerpc"
_cfi_bus=	cfi_bus_fdt.c ofw_bus_if.h
.endif

opt_cfi.h:
	echo "#define CFI_SUPPORT_STRATAFLASH 1" > ${.TARGET}

.include <bsd.kmod.mk>
@


1.2
log
@SVN rev 229032 on 2011-12-30 21:22:10Z by marius

Add header required by cfi_bus_fdt.c.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1
log
@SVN rev 228981 on 2011-12-30 03:48:39Z by marcel

Add a module for cfi(4). Build only for arm and powerpc, as there are
only bus attachments only for these.
@
text
@d10 1
a10 1
_cfi_bus= cfi_bus_fdt.c cfi_bus_ixp4xx.c
d13 1
a13 1
_cfi_bus= cfi_bus_fdt.c
@

