diff options
| author | martin <martin@NetBSD.org> | 2001-01-05 12:49:52 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2001-01-05 12:49:52 +0000 |
| commit | c3cb638bcaf3ab422b9fbdaa4552afd21a817f40 (patch) | |
| tree | 739005e0a66c10d03cc90d4791b5e1597b016670 /sys/dev/microcode/daic/Makefile | |
| parent | f60c2ea4df70477bade4f1c69ac781c95f862a0c (diff) | |
Initial import of ISDN4BSD release 0.96
Diffstat (limited to 'sys/dev/microcode/daic/Makefile')
| -rw-r--r-- | sys/dev/microcode/daic/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/dev/microcode/daic/Makefile b/sys/dev/microcode/daic/Makefile new file mode 100644 index 00000000000..ef250072b5b --- /dev/null +++ b/sys/dev/microcode/daic/Makefile @@ -0,0 +1,31 @@ +# The Microcode for the Eicon.Diehl active ISDN cards comes in two parts. +# A tiny bootstrap loader delivered by Diehl as "dnload.bin" and a +# D-channel protocol specific file, e.g. "te_etsi.sx" for the SX card +# running E-DSS1. +# We can not deliver either of these files. The user is assumed to use +# the ones distributed with his card or download the newest version from +# http://www.diehl.de. +# The bootstrap loader is compiled into the kernel, as it is needed to +# identify the card. The protocol specific part is later downloaded by +# the ISDN management daemon. + +.NOPATH: dnload.bin +.if exists(dnload.bin) +# Real part - the bootstrap image is available. We convert it into a +# static byte array via the "gendnloadh" shell script. +dnload.h: dnload.bin + @rm -f dnload.h + @sh ./gendnloadh +.else +# Fake part - user did not copy the necessary file here. Compilation will +# fail with an error explaining his fault. +dnload.h: dnload.h-dist + cp dnload.h-dist dnload.h +.endif + +clean: + rm -f dnload.h + +cleandir: clean + +includes: dnload.h |
