summaryrefslogtreecommitdiff
path: root/ecos/packages
diff options
context:
space:
mode:
authorsave2007-06-14 13:48:36 +0000
committersave2007-06-14 13:48:36 +0000
commit0e4eb70b917acf319bd6b049e1c5469d36a83d56 (patch)
treee1e7db25fcc081ce2bcb6b2a30d4a23e59f32699 /ecos/packages
parent8033c2f91d1438ba38d2c780570d930ce64a4e84 (diff)
added CFLAGS option for maximus station
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@298 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'ecos/packages')
-rw-r--r--ecos/packages/hal/maximus/arch/current/cdl/hal_maximus.cdl35
1 files changed, 33 insertions, 2 deletions
diff --git a/ecos/packages/hal/maximus/arch/current/cdl/hal_maximus.cdl b/ecos/packages/hal/maximus/arch/current/cdl/hal_maximus.cdl
index dff56db89a..b6e3d4baea 100644
--- a/ecos/packages/hal/maximus/arch/current/cdl/hal_maximus.cdl
+++ b/ecos/packages/hal/maximus/arch/current/cdl/hal_maximus.cdl
@@ -1,8 +1,8 @@
# ====================================================================
#
-# hal_synth.cdl
+# hal_maximus.cdl
#
-# Synthetic target architectural configuration data
+# Maximus target architectural configuration data
#
# ====================================================================
######DESCRIPTIONBEGIN####
@@ -38,6 +38,7 @@ cdl_package CYGPKG_HAL_MAXIMUS {
@echo >> $(notdir $@).deps
@rm target.tmp
}
+
compile maximus_entry.c maximus_diag.c maximus_intr.c maximus_syscalls.c
define_proc {
@@ -103,4 +104,34 @@ cdl_package CYGPKG_HAL_MAXIMUS {
calculated { "src/maximus.ld" }
}
+ cdl_component CYGPKG_HAL_MAXIMUS_OPTIONS {
+ display "HAL Maximus build options"
+ flavor none
+ description "
+ Package specific build options including control over
+ compiler flags used only in building this package."
+
+
+ cdl_option CYGPKG_HAL_MAXIMUS_CFLAGS_ADD {
+ display "Additional compiler flags"
+ flavor data
+ no_define
+ default_value { "-I\$(REPOSITORY)/../.." }
+ description "
+ This option modifies the set of compiler flags for
+ building the eCos HAL package. These flags are used
+ in addition to the set of global flags."
+ }
+
+ cdl_option CYGPKG_HAL_MAXIMUS_LDFLAGS_ADD {
+ display "Additional linker flags"
+ flavor data
+ no_define
+ default_value { "" }
+ description "
+ This option modifies the set of linker flags for
+ building the eCos HAL package tests. These flags are added to
+ the set of global flags if present."
+ }
+ }
}