changeset 2108:eda6b6a42ec7

* cdl/hal_sh_sh7750_dreamcast.cdl: Fix the require statements so we can build things other than RedBoot.
author asl
date Fri, 02 Dec 2005 19:11:12 +0000
parents 7a0284a514e9
children f946bad98155
files packages/hal/sh/dreamcast/current/ChangeLog packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl
diffstat 2 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/sh/dreamcast/current/ChangeLog
+++ b/packages/hal/sh/dreamcast/current/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-02  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* cdl/hal_sh_sh7750_dreamcast.cdl: Fix the require statements so
+	we can build things other than RedBoot.
+
 2004-04-30  Yoshinori Sato  <ysato@users.sourceforge.jp>
 
 	* cdl/hal_sh_sh7750_dreamcast.cdl: Build boot.S.
--- a/packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl
+++ b/packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl
@@ -59,9 +59,12 @@ cdl_package CYGPKG_HAL_SH_SH7750_DREAMCA
         The HAL package provides the support needed to run
         eCos on SEGA Dreamcast."
 
-    requires      { CYGDAT_REDBOOT_SH_LINUX_BOOT_ENTRY == 0x8c210000 }
-    requires      { CYGDAT_REDBOOT_SH_LINUX_BOOT_BASE_ADDR == 0x8c001000 }
-    requires      { CYGDAT_REDBOOT_SH_LINUX_BOOT_COMMAND_LINE == "mem=16M" }
+    requires      { is_active(CYGSEM_REDBOOT_SH_LINUX_BOOT) implies 
+                       (CYGDAT_REDBOOT_SH_LINUX_BOOT_ENTRY == 0x8c210000) }
+    requires      { is_active(CYGSEM_REDBOOT_SH_LINUX_BOOT) implies 
+                       (CYGDAT_REDBOOT_SH_LINUX_BOOT_BASE_ADDR == 0x8c001000) }
+    requires      { is_active(CYGSEM_REDBOOT_SH_LINUX_BOOT) implies 
+                       (CYGDAT_REDBOOT_SH_LINUX_BOOT_COMMAND_LINE == "mem=16M") }
 
     compile       hal_diag.c plf_misc.c dreamcast_pci.c fb_support.c
     compile       -library=libextras.a boot.S