changeset 2986:88aeb3e7e679

* cdl/hal_frv.cdl: Eliminate some warnings. [ Bugzilla 1001083 ]
author sergeig
date Sun, 02 Jan 2011 13:37:56 +0000
parents 7650f522d135
children dfc13e8c1f14
files packages/hal/frv/arch/current/ChangeLog packages/hal/frv/arch/current/cdl/hal_frv.cdl
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/frv/arch/current/ChangeLog
+++ b/packages/hal/frv/arch/current/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-02  Sergei Gavrikov  <sergei.gavrikov@gmail.com>
+
+	* cdl/hal_frv.cdl: Eliminate some warnings. [ Bugzilla 1001083 ]
+
 2004-09-03  Mark Salter  <msalter@redhat.com>
 2004-09-03  David Woodhouse  <dwmw2@redhat.com>
 
--- a/packages/hal/frv/arch/current/cdl/hal_frv.cdl
+++ b/packages/hal/frv/arch/current/cdl/hal_frv.cdl
@@ -64,7 +64,7 @@ cdl_package CYGPKG_HAL_FRV {
     # special rule used to build any include files, etc, used by assembly code
     make -priority 1 {
         frv.inc : <PACKAGE>/src/hal_mk_defs.c
-        $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,frv.tmp -o hal_mk_defs.tmp -S $<
+        $(CC) $(ACTUAL_CFLAGS) $(INCLUDE_PATH) -Wp,-MD,frv.tmp -o hal_mk_defs.tmp -S $<
         fgrep .equ hal_mk_defs.tmp | sed s/#// | sed s/\\.equ/#define/ > $@
         @echo $@ ": \\" > $(notdir $@).deps
         @tail -n +2 frv.tmp >> $(notdir $@).deps
@@ -83,7 +83,7 @@ cdl_package CYGPKG_HAL_FRV {
 
     make {
         <PREFIX>/lib/target.ld: <PACKAGE>/src/frv.ld
-        $(CC) -E -P -Wp,-MD,target.tmp -DEXTRAS=1 -xc $(INCLUDE_PATH) $(CFLAGS) -o $@ $<
+        $(CC) -E -P -Wp,-MD,target.tmp -DEXTRAS=1 -xc $(INCLUDE_PATH) $(ACTUAL_CFLAGS) -o $@ $<
         @echo $@ ": \\" > $(notdir $@).deps
         @tail -n +2 target.tmp >> $(notdir $@).deps
         @echo >> $(notdir $@).deps