diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-16 15:09:39 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-16 15:09:39 +0000 |
commit | 3119f7b909d6c8938ae92e45b1e92dc1bcba0c0b (patch) | |
tree | daf7f588b941cdac94651ca15cc46364c56772f6 /nuttx/drivers/net | |
parent | c91f7947992488ba67e82f4c56c94cd64d385ffc (diff) | |
download | px4-nuttx-3119f7b909d6c8938ae92e45b1e92dc1bcba0c0b.tar.gz px4-nuttx-3119f7b909d6c8938ae92e45b1e92dc1bcba0c0b.tar.bz2 px4-nuttx-3119f7b909d6c8938ae92e45b1e92dc1bcba0c0b.zip |
Add initial CC1101 wireless logic from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3617 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/net')
-rw-r--r-- | nuttx/drivers/net/Make.defs | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/nuttx/drivers/net/Make.defs b/nuttx/drivers/net/Make.defs index f3b9d2645..eba3e5078 100644 --- a/nuttx/drivers/net/Make.defs +++ b/nuttx/drivers/net/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # drivers/net/Make.defs # -# Copyright (C) 2007, 2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2007, 2010-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -33,24 +33,35 @@ # ############################################################################ -NET_ASRCS = -NET_CSRCS = +# Include nothing if networking is disabled ifeq ($(CONFIG_NET),y) + +# Include network interface drivers + ifeq ($(CONFIG_NET_DM90x0),y) -NET_CSRCS += dm90x0.c + CSRCS += dm90x0.c endif + ifeq ($(CONFIG_NET_CS89x0),y) -NET_CSRCS += cs89x0.c + CSRCS += cs89x0.c endif + ifeq ($(CONFIG_NET_ENC28J60),y) -NET_CSRCS += enc28j60.c + CSRCS += enc28j60.c endif + ifeq ($(CONFIG_NET_VNET),y) -NET_CSRCS += vnet.c + CSRCS += vnet.c endif + ifeq ($(CONFIG_NET_SLIP),y) -NET_CSRCS += slip.c + CSRCS += slip.c endif + +# Include network build support + +DEPPATH += --dep-path net +VPATH += :net endif |