Mercurial > flash_v2
comparison packages/devs/wallclock/current/cdl/wallclock.cdl @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | |
| children | 59d97b6ba612 |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 1 # ==================================================================== | |
| 2 # | |
| 3 # wallclock.cdl | |
| 4 # | |
| 5 # eCos wallclock configuration data | |
| 6 # | |
| 7 # ==================================================================== | |
| 8 #####COPYRIGHTBEGIN#### | |
| 9 # | |
| 10 # ------------------------------------------- | |
| 11 # The contents of this file are subject to the Red Hat eCos Public License | |
| 12 # Version 1.1 (the "License"); you may not use this file except in | |
| 13 # compliance with the License. You may obtain a copy of the License at | |
| 14 # http://www.redhat.com/ | |
| 15 # | |
| 16 # Software distributed under the License is distributed on an "AS IS" | |
| 17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 18 # License for the specific language governing rights and limitations under | |
| 19 # the License. | |
| 20 # | |
| 21 # The Original Code is eCos - Embedded Configurable Operating System, | |
| 22 # released September 30, 1998. | |
| 23 # | |
| 24 # The Initial Developer of the Original Code is Red Hat. | |
| 25 # Portions created by Red Hat are | |
| 26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 27 # All Rights Reserved. | |
| 28 # ------------------------------------------- | |
| 29 # | |
| 30 #####COPYRIGHTEND#### | |
| 31 # ==================================================================== | |
| 32 ######DESCRIPTIONBEGIN#### | |
| 33 # | |
| 34 # Author(s): jskov | |
| 35 # Original data: nickg | |
| 36 # Contributors: | |
| 37 # Date: 1999-07-13 | |
| 38 # | |
| 39 #####DESCRIPTIONEND#### | |
| 40 # | |
| 41 # ==================================================================== | |
| 42 | |
| 43 cdl_package CYGPKG_DEVICES_WALLCLOCK { | |
| 44 display "Wallclock device" | |
| 45 requires CYGVAR_KERNEL_COUNTERS_CLOCK | |
| 46 include_dir cyg/devs | |
| 47 define_header wallclock.h | |
| 48 description " | |
| 49 The wallclock device provides real time stamps, as opposed | |
| 50 to the eCos kernel timers which typically just count the | |
| 51 number of clock ticks since the hardware was powered up. | |
| 52 Depending on the target platform this device may involve | |
| 53 interacting with a suitable clock chip, or it may be | |
| 54 emulated by using the kernel timers." | |
| 55 | |
| 56 # FIXME: should be editable when there are HW alternatives. | |
| 57 cdl_option CYGIMP_WALLCLOCK_EMULATE { | |
| 58 display "Wallclock emulator" | |
| 59 calculated 1 | |
| 60 compile emulate.cxx | |
| 61 description " | |
| 62 When this option is enabled, a wallclock device will be | |
| 63 emulated using the kernel real-time clock." | |
| 64 } | |
| 65 | |
| 66 cdl_component CYGPKG_DEVICES_WALLCLOCK_OPTIONS { | |
| 67 display "Wallclock build options" | |
| 68 flavor none | |
| 69 description " | |
| 70 Package specific build options including control over | |
| 71 compiler flags used only in building this package, | |
| 72 and details of which tests are built." | |
| 73 | |
| 74 | |
| 75 cdl_option CYGPKG_DEVICES_WALLCLOCK_CFLAGS_ADD { | |
| 76 display "Additional compiler flags" | |
| 77 flavor data | |
| 78 no_define | |
| 79 default_value { "" } | |
| 80 description " | |
| 81 This option modifies the set of compiler flags for | |
| 82 building the wallclock device. These flags are used in addition | |
| 83 to the set of global flags." | |
| 84 } | |
| 85 | |
| 86 cdl_option CYGPKG_DEVICES_WALLCLOCK_CFLAGS_REMOVE { | |
| 87 display "Supressed compiler flags" | |
| 88 flavor data | |
| 89 no_define | |
| 90 default_value { "" } | |
| 91 description " | |
| 92 This option modifies the set of compiler flags for | |
| 93 building the wallclock device. These flags are removed from | |
| 94 the set of global flags if present." | |
| 95 } | |
| 96 | |
| 97 cdl_option CYGPKG_DEVICES_WALLCLOCK_TESTS { | |
| 98 display "Wallclock tests" | |
| 99 flavor data | |
| 100 no_define | |
| 101 calculated { "tests/wallclock" } | |
| 102 description " | |
| 103 This option specifies the set of tests for the wallclock device." | |
| 104 } | |
| 105 } | |
| 106 } |
