From f97f0c74f4a449800142e3ce394303135e9d0a3c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 7 Jan 2005 06:19:08 +0000 Subject: 2005-01-07 Ralf Corsepius * mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, shared/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V. --- c/src/lib/libcpu/powerpc/ChangeLog | 6 ++++++ c/src/lib/libcpu/powerpc/mpc505/Makefile.am | 6 +++--- c/src/lib/libcpu/powerpc/mpc5xx/Makefile.am | 12 ++++++------ c/src/lib/libcpu/powerpc/mpc6xx/Makefile.am | 8 ++++---- c/src/lib/libcpu/powerpc/mpc8260/Makefile.am | 12 ++++++------ c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am | 12 ++++++------ c/src/lib/libcpu/powerpc/ppc403/Makefile.am | 12 ++++++------ c/src/lib/libcpu/powerpc/shared/Makefile.am | 6 +++--- 8 files changed, 40 insertions(+), 34 deletions(-) (limited to 'c/src/lib/libcpu') diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog index 2dd0d59285..9300e3650d 100644 --- a/c/src/lib/libcpu/powerpc/ChangeLog +++ b/c/src/lib/libcpu/powerpc/ChangeLog @@ -1,3 +1,9 @@ +2005-01-07 Ralf Corsepius + + * mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am, + mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, + shared/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V. + 2005-01-04 Joel Sherrill * ppc403/tty_drv/tty_drv.c: Remove warnings. diff --git a/c/src/lib/libcpu/powerpc/mpc505/Makefile.am b/c/src/lib/libcpu/powerpc/mpc505/Makefile.am index 610aeaefa7..dd50107390 100644 --- a/c/src/lib/libcpu/powerpc/mpc505/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc505/Makefile.am @@ -14,13 +14,13 @@ include_HEADERS = ictrl/ictrl.h noinst_PROGRAMS += ictrl.rel ictrl_rel_SOURCES = ictrl/ictrl.c -ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## timer noinst_PROGRAMS += timer.rel timer_rel_SOURCES = timer/timer.c -timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +timer_rel_CPPFLAGS = $(AM_CPPFLAGS) timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## vector @@ -28,7 +28,7 @@ vectors_S_FILES = vectors/vectors.S noinst_PROGRAMS += vectors.rel vectors_rel_SOURCES = vectors/vectors.S -vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) endif diff --git a/c/src/lib/libcpu/powerpc/mpc5xx/Makefile.am b/c/src/lib/libcpu/powerpc/mpc5xx/Makefile.am index 78fc6f9505..6047923db1 100644 --- a/c/src/lib/libcpu/powerpc/mpc5xx/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc5xx/Makefile.am @@ -17,7 +17,7 @@ include_HEADERS = include/mpc5xx.h ## clock noinst_PROGRAMS += clock.rel clock_rel_SOURCES = clock/clock.c -clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +clock_rel_CPPFLAGS = $(AM_CPPFLAGS) clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## console-generic @@ -25,7 +25,7 @@ include_mpc5xx_HEADERS = include/console.h noinst_PROGRAMS += console-generic.rel console_generic_rel_SOURCES = console-generic/console-generic.c -console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## exceptions @@ -33,7 +33,7 @@ include_libcpu_HEADERS = exceptions/raw_exception.h noinst_PROGRAMS += exceptions.rel exceptions_rel_SOURCES = exceptions/raw_exception.c -exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## irq @@ -41,13 +41,13 @@ include_libcpu_HEADERS += irq/irq.h noinst_PROGRAMS += irq.rel irq_rel_SOURCES = irq/irq.c irq/irq_init.c irq/irq_asm.S -irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +irq_rel_CPPFLAGS = $(AM_CPPFLAGS) irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## timer noinst_PROGRAMS += timer.rel timer_rel_SOURCES = timer/timer.c -timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +timer_rel_CPPFLAGS = $(AM_CPPFLAGS) timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## vectors @@ -55,7 +55,7 @@ include_libcpu_HEADERS += vectors/vectors.h noinst_PROGRAMS += vectors.rel vectors_rel_SOURCES = vectors/vectors_init.c vectors/vectors.S -vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) endif diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/Makefile.am b/c/src/lib/libcpu/powerpc/mpc6xx/Makefile.am index 9e8f08ea5f..cd42388a41 100644 --- a/c/src/lib/libcpu/powerpc/mpc6xx/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc6xx/Makefile.am @@ -15,7 +15,7 @@ include_libcpu_HEADERS = exceptions/raw_exception.h # exceptions noinst_PROGRAMS += exceptions.rel exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S -exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) # mmu @@ -24,7 +24,7 @@ include_libcpu_HEADERS += mmu/bat.h mmu/pte121.h noinst_PROGRAMS += mmu.rel mmu_rel_SOURCES = mmu/bat.c mmu/bat.h mmu/pte121.c mmu/pte121.h \ mmu/mmuAsm.S -mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) # clock @@ -32,13 +32,13 @@ include_libcpu_HEADERS += clock/c_clock.h noinst_PROGRAMS += clock.rel clock_rel_SOURCES = clock/c_clock.c clock/c_clock.h -clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +clock_rel_CPPFLAGS = $(AM_CPPFLAGS) clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) # timer noinst_PROGRAMS += timer.rel timer_rel_SOURCES = timer/timer.c -timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +timer_rel_CPPFLAGS = $(AM_CPPFLAGS) timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) endif diff --git a/c/src/lib/libcpu/powerpc/mpc8260/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8260/Makefile.am index a7ef6c1df9..54846fc8bf 100644 --- a/c/src/lib/libcpu/powerpc/mpc8260/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8260/Makefile.am @@ -21,13 +21,13 @@ include_mpc8260_HEADERS = include/console.h noinst_PROGRAMS += console-generic.rel console_generic_rel_SOURCES = console-generic/console-generic.c \ include/console.h -console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## clock noinst_PROGRAMS += clock.rel clock_rel_SOURCES = clock/clock.c -clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +clock_rel_CPPFLAGS = $(AM_CPPFLAGS) clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## cpm @@ -35,7 +35,7 @@ include_mpc8260_HEADERS += include/cpm.h noinst_PROGRAMS += cpm.rel cpm_rel_SOURCES = cpm/cp.c cpm/dpram.c cpm/brg.c include/cpm.h -cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## exceptions @@ -44,7 +44,7 @@ include_libcpu_HEADERS = exceptions/raw_exception.h noinst_PROGRAMS += exceptions.rel exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S \ exceptions/raw_exception.h -exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## mmu @@ -52,13 +52,13 @@ include_mpc8260_HEADERS += include/mmu.h noinst_PROGRAMS += mmu.rel mmu_rel_SOURCES = mmu/mmu.c include/mmu.h -mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## timer noinst_PROGRAMS += timer.rel timer_rel_SOURCES = timer/timer.c -timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +timer_rel_CPPFLAGS = $(AM_CPPFLAGS) timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) endif diff --git a/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am b/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am index d4ba1b01d9..65d6c389c5 100644 --- a/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am +++ b/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am @@ -17,7 +17,7 @@ include_HEADERS = include/mpc8xx.h ## clock noinst_PROGRAMS += clock.rel clock_rel_SOURCES = clock/clock.c -clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +clock_rel_CPPFLAGS = $(AM_CPPFLAGS) clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## console-generic @@ -25,7 +25,7 @@ include_mpc8xx_HEADERS = include/console.h noinst_PROGRAMS += console-generic.rel console_generic_rel_SOURCES = console-generic/console-generic.c -console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## cpm @@ -33,7 +33,7 @@ include_mpc8xx_HEADERS += include/cpm.h noinst_PROGRAMS += cpm.rel cpm_rel_SOURCES = cpm/cp.c cpm/dpram.c -cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## exceptions @@ -41,7 +41,7 @@ include_libcpu_HEADERS = exceptions/raw_exception.h noinst_PROGRAMS += exceptions.rel exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S -exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## mmu @@ -49,13 +49,13 @@ include_mpc8xx_HEADERS += include/mmu.h noinst_PROGRAMS += mmu.rel mmu_rel_SOURCES = mmu/mmu.c -mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## timer noinst_PROGRAMS += timer.rel timer_rel_SOURCES = timer/timer.c -timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +timer_rel_CPPFLAGS = $(AM_CPPFLAGS) timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) endif diff --git a/c/src/lib/libcpu/powerpc/ppc403/Makefile.am b/c/src/lib/libcpu/powerpc/ppc403/Makefile.am index b8abee140b..cec81a423d 100644 --- a/c/src/lib/libcpu/powerpc/ppc403/Makefile.am +++ b/c/src/lib/libcpu/powerpc/ppc403/Makefile.am @@ -12,7 +12,7 @@ if ppc403 ## clock noinst_PROGRAMS += clock.rel clock_rel_SOURCES = clock/clock.c -clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +clock_rel_CPPFLAGS = $(AM_CPPFLAGS) clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## console @@ -22,7 +22,7 @@ console_rel_SOURCES = console/console405.c else console_rel_SOURCES = console/console.c endif -console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +console_rel_CPPFLAGS = $(AM_CPPFLAGS) console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## ictrl @@ -30,13 +30,13 @@ include_HEADERS = ictrl/ictrl.h noinst_PROGRAMS += ictrl.rel ictrl_rel_SOURCES = ictrl/ictrl.c ictrl/ictrl.h -ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## timer noinst_PROGRAMS += timer.rel timer_rel_SOURCES = timer/timer.c -timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +timer_rel_CPPFLAGS = $(AM_CPPFLAGS) timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) ## tty_drv @@ -45,14 +45,14 @@ include_HEADERS += tty_drv/tty_drv.h noinst_PROGRAMS += tty_drv.rel tty_drv_rel_SOURCES = tty_drv/tty_drv.c tty_drv/tty_drv.h -tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) endif ## vectors noinst_PROGRAMS += vectors.rel vectors_rel_SOURCES = vectors/vectors.S vectors/align_h.S -vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) endif diff --git a/c/src/lib/libcpu/powerpc/shared/Makefile.am b/c/src/lib/libcpu/powerpc/shared/Makefile.am index 309b9346a5..414aa1a87c 100644 --- a/c/src/lib/libcpu/powerpc/shared/Makefile.am +++ b/c/src/lib/libcpu/powerpc/shared/Makefile.am @@ -16,7 +16,7 @@ include_libcpu_HEADERS = include/io.h include/mmu.h include/page.h \ noinst_PROGRAMS += cpuIdent.rel cpuIdent_rel_SOURCES = include/cpuIdent.c include/cpuIdent.h -cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) include_libcpu_HEADERS += include/cpuIdent.h @@ -26,7 +26,7 @@ noinst_PROGRAMS += cache.rel cache_rel_SOURCES = src/cache.c src/cache_.h \ ../../shared/src/cache_aligned_malloc.c ../../shared/src/cache_manager.c \ ../../shared/include/cache.h -cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/src +cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/src cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) include_libcpu_HEADERS += ../../shared/include/cache.h @@ -34,7 +34,7 @@ include_libcpu_HEADERS += ../../shared/include/cache.h ## stack noinst_PROGRAMS += stack.rel stack_rel_SOURCES = src/stack.c include/spr.h src/stackTrace.h -stack_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +stack_rel_CPPFLAGS = $(AM_CPPFLAGS) stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) include_libcpu_HEADERS += include/spr.h -- cgit v1.2.3