~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
cvs/emstar/Make.conf


  1 ##
  2 ## EmStar Makefile Configuration and User Option
  3 ##
  4 ## $Id: Make.conf,v 1.23 2006-01-27 05:04:57 girod Exp $
  5 ##
  6 
  7 ##
  8 ##  This file contains various options and settings that
  9 ##  can help you configure EmStar to build on your system.
 10 ##
 11 
 12 ##
 13 ##  Enable use of _shared_ EmStar libraries
 14 ##
 15 ##  If USE_SHARED is set, all executables will be built to link to the .so
 16 ##  versions of the EmStar libraries.  For this to work, you will need
 17 ##  to set LD_LIBRARY_PATH to point to the location where the EmStar shared
 18 ##  libs are installed, or install them in a standard location.
 19 ##
 20 ##  If USE_SHARED is NOT set, the binaries will be linked statically 
 21 ##  with the exception of system libraries, and LD_LIBRARY_PATH is not needed.
 22 ##
 23 ##     *** NOTE: If the compilation previously succeeded, you must  ***
 24 ##     *** make clean for a change to this setting to take effect!! ***
 25 ##
 26 USE_SHARED := 0
 27 
 28 ##
 29 ##  Enable debug versions of libraries, executables
 30 ##
 31 ##  Debugging info in libraries increases their size by about 1.5x.
 32 ##  You can turn it off here.
 33 ##
 34 DEBUG_LIBS := 1
 35 DEBUG_EXES := 1
 36 
 37 
 38 ##
 39 ##  Many distributions now conform to standards for where kernel
 40 ##  headers are located.  In some cases they differ and may need
 41 ##  to be configured here.
 42 ##
 43 ##  If you need to point EmStar to a specific directory for your
 44 ##  kernel headers, define it here.  
 45 ##
 46 ##  If NATIVE_KERNEL_HEADERS is not defined, native ARCH looks in
 47 ##    /usr/src/linux/include  and  /usr/src/linux-2.4/include
 48 ##
 49 #NATIVE_KERNEL_HEADERS := /usr/src/linux/include
 50 ##
 51 ##  Other architectures have the following defaults built into 
 52 ##  make/make.platform -- you can override them here:
 53 ##    
 54 #STARGATE_KERNEL_ROOT := $(STARGATE_TOOLS_ROOT)/kernel/$(STARGATE_KERNEL_VERSION)
 55 #PASTA_KERNEL_ROOT    := /home/tsiatsis/pasta-related/pasta_cvs/node/pxa250/linux-transitional
 56 #IPAQ_SA_KERNEL_ROOT  := /export/home/eugene/ipaq/kernel/linux
 57 #NSTARGATE_KERNEL_ROOT := /scratch/girod/slauson/linux-2.6.10-sln1
 58 ##
 59 
 60 ##  To disable building kernel modules, set to 0.
 61 BUILD_KMODULES := 1
 62 
 63 
 64 ##
 65 ##  If pkg-config is unable to find its data files, you can set 
 66 ##  this value to point to them.
 67 ##
 68 #PKG_CONFIG_PATH := /usr/lib/pkgconfig
 69 
 70 
 71 ##
 72 ##  TinyOS / EmTOS integration configuration
 73 ##
 74 ##  To enable EmTOS, you must:
 75 ##
 76 ##   * set the variable below to turn it on
 77 ##   * ensure that NesC and AVR compilers are installed and
 78 ##     that the vars below point to the appropriate paths
 79 ##   * create a symlink from emstar/tinyos-1.x to your TOS
 80 ##     repository and create the symlinks within the TOS
 81 ##     repo back to emstar (see install.html)
 82 ##   * install GNU Make v. 3.80
 83 ##
 84 ##  All the standard TinyOS environment variables (e.g. TOSDIR,
 85 ##  MAKERULES, etc) are overridden by this Makefile -- instead
 86 ##  we rely on symlinks to achieve these goals.
 87 ##
 88 
 89 ##  To disable EmTOS builds (e.g. if you don't have the full
 90 ##  checkout or don't want to compile TOS stuff) set to 0.
 91 BUILD_EMTOS := 0
 92 
 93 ##  To disable slow (but safe) TOS dependency verification, 
 94 ##  set TOSDEPS to 0.  If dependencies are enabled, they will
 95 ##  be checked on each build and anything that might have 
 96 ##  changed will be rebuilt.  However, this is a slow process 
 97 ##  and may not be worthwhile for frequent rebuilds.
 98 ##  An alternative it to use the bin/tosremake script to 
 99 ##  force a rebuild of a particular executable, e.g.
100 ##
101 ##  $ cd emstar
102 ##  $ bin/tosremake obj.i686-linux/mote/CntToLedsAndRfm
103 ##
104 TOSDEPS := 0
105 
106 ##  NESC_DIR points to your install of NesC
107 ##  This setting should be compatible with our AVR tools package
108 NESC_DIR := /usr/local/lecs/nesc-1.1
109 
110 ##  AVR_DIR points to your install of avr-gcc
111 ##  This setting should be compatible with our AVR tools package
112 AVR_DIR := /usr/local/lecs/avr3.3
113 
114 ##  Internally /bin will be appended to both of the above paths.
115 ##  So, if you are using an standard installed version of nesc and 
116 ##  avr-gcc that install into /usr/local/bin, you probably want:
117 #NESC_DIR := /usr/local 
118 #AVR_DIR := /usr/local 
119 
120 
121 
122 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.