summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."
+ }
+ }
}