This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
cflags tweak
- From: Mark Salter <msalter at redhat dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Sun, 19 Sep 2004 14:24:02 -0400 (EDT)
- Subject: cflags tweak
Add -mcpu=xscale to CFLAGS for ixdp425 and grg.
--Mark
Index: hal/arm/xscale/grg/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/grg/current/ChangeLog,v
retrieving revision 1.6
diff -u -p -5 -r1.6 ChangeLog
--- hal/arm/xscale/grg/current/ChangeLog 19 Sep 2004 17:49:58 -0000 1.6
+++ hal/arm/xscale/grg/current/ChangeLog 19 Sep 2004 18:12:49 -0000
@@ -1,7 +1,9 @@
2004-09-19 Mark Salter <msalter@redhat.com>
+ * cdl/hal_arm_xscale_grg.cdl: Add -mcpu=xscale to CFLAGS.
+
* misc/redboot_ROM.ecm: Add CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE.
* misc/redboot_RAM.ecm: Ditto.
* misc/redboot_ROMLE.ecm: Ditto.
* misc/redboot_RAMLE.ecm: Ditto.
Index: hal/arm/xscale/grg/current/cdl/hal_arm_xscale_grg.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/grg/current/cdl/hal_arm_xscale_grg.cdl,v
retrieving revision 1.2
diff -u -p -5 -r1.2 hal_arm_xscale_grg.cdl
--- hal/arm/xscale/grg/current/cdl/hal_arm_xscale_grg.cdl 2 Sep 2004 20:17:43 -0000 1.2
+++ hal/arm/xscale/grg/current/cdl/hal_arm_xscale_grg.cdl 19 Sep 2004 18:12:49 -0000
@@ -111,12 +111,12 @@ cdl_package CYGPKG_HAL_ARM_XSCALE_GRG {
cdl_option CYGBLD_GLOBAL_CFLAGS {
display "Global compiler flags"
flavor data
no_define
- default_value { CYGHWR_HAL_ARM_BIGENDIAN ? "-mbig-endian -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" :
- "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" }
+ default_value { CYGHWR_HAL_ARM_BIGENDIAN ? "-mbig-endian -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" :
+ "-mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" }
description "
This option controls the global compiler flags which are used to
compile all packages by default. Individual packages may define
options which override these global flags."
}
Index: hal/arm/xscale/ixdp425/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/ixdp425/current/ChangeLog,v
retrieving revision 1.9
diff -u -p -5 -r1.9 ChangeLog
--- hal/arm/xscale/ixdp425/current/ChangeLog 19 Sep 2004 17:49:59 -0000 1.9
+++ hal/arm/xscale/ixdp425/current/ChangeLog 19 Sep 2004 18:12:49 -0000
@@ -1,7 +1,9 @@
2004-09-19 Mark Salter <msalter@redhat.com>
+ * cdl/hal_arm_xscale_ixdp425.cdl: Add -mcpu=xscale to CFLAGS.
+
* misc/redboot_ROM.ecm: Add CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE.
* misc/redboot_RAM.ecm: Ditto.
* misc/redboot_ROMRAM.ecm: Ditto.
* misc/redboot_ROMLE.ecm: Ditto.
* misc/redboot_RAMLE.ecm: Ditto.
Index: hal/arm/xscale/ixdp425/current/cdl/hal_arm_xscale_ixdp425.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/ixdp425/current/cdl/hal_arm_xscale_ixdp425.cdl,v
retrieving revision 1.5
diff -u -p -5 -r1.5 hal_arm_xscale_ixdp425.cdl
--- hal/arm/xscale/ixdp425/current/cdl/hal_arm_xscale_ixdp425.cdl 7 Sep 2004 14:59:16 -0000 1.5
+++ hal/arm/xscale/ixdp425/current/cdl/hal_arm_xscale_ixdp425.cdl 19 Sep 2004 18:12:49 -0000
@@ -113,12 +113,12 @@ cdl_package CYGPKG_HAL_ARM_XSCALE_IXDP42
cdl_option CYGBLD_GLOBAL_CFLAGS {
display "Global compiler flags"
flavor data
no_define
- default_value { CYGHWR_HAL_ARM_BIGENDIAN ? "-mbig-endian -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" :
- "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" }
+ default_value { CYGHWR_HAL_ARM_BIGENDIAN ? "-mbig-endian -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" :
+ "-mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -mapcs-frame" }
description "
This option controls the global compiler flags which are used to
compile all packages by default. Individual packages may define
options which override these global flags."
}