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/bch | |
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/bch')
-rw-r--r-- | nuttx/drivers/bch/Make.defs | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/nuttx/drivers/bch/Make.defs b/nuttx/drivers/bch/Make.defs index efbfbe2bc..8dc36b8c4 100644 --- a/nuttx/drivers/bch/Make.defs +++ b/nuttx/drivers/bch/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # drivers/bch/Make.defs # -# Copyright (C) 2008 Gregory Nutt. All rights reserved. +# Copyright (C) 2008, 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,8 +33,20 @@ # ############################################################################ -BCH_ASRCS = -BCH_CSRCS = bchlib_setup.c bchlib_teardown.c bchlib_read.c bchlib_write.c \ - bchlib_cache.c bchlib_sem.c bchdev_register.c bchdev_unregister.c \ - bchdev_driver.c +ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) +ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y) +# Include BCH driver + +CSRCS += bchlib_setup.c bchlib_teardown.c bchlib_read.c bchlib_write.c \ + bchlib_cache.c bchlib_sem.c bchdev_register.c bchdev_unregister.c \ + bchdev_driver.c + +# Include BCH driver build support + +DEPPATH += --dep-path bch +VPATH += :bch +CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/drivers/bch} + +endif +endif |