039-mcfv4e_kbuild_flags_update.patch 934 B

1234567891011121314151617181920212223242526272829303132
  1. From ea71d637a9d8606624056fad67d050face9fc03c Mon Sep 17 00:00:00 2001
  2. From: Kurt Mahan <[email protected]>
  3. Date: Fri, 15 Feb 2008 15:32:35 -0700
  4. Subject: [PATCH] Update to use KBUILD_ for CFLAGS and AFLAGS.
  5. LTIBName: mcfv4e-kbuild-flags-update
  6. Signed-off-by: Kurt Mahan <[email protected]>
  7. ---
  8. arch/m68k/Makefile | 5 +++--
  9. 1 files changed, 3 insertions(+), 2 deletions(-)
  10. --- a/arch/m68k/Makefile
  11. +++ b/arch/m68k/Makefile
  12. @@ -33,6 +33,7 @@ LDFLAGS_vmlinux = -N
  13. endif
  14. ifdef CONFIG_COLDFIRE
  15. +# OBJCOPYFLAGS := -R .note -R .note.gnu.build-id -R .comment -S
  16. # LDFLAGS_vmlinux = --verbose
  17. endif
  18. @@ -59,8 +60,8 @@ endif
  19. endif
  20. ifdef CONFIG_M54455
  21. -CFLAGS := $(CFLAGS) -march=isac -mcpu=54455 -msoft-float -g
  22. -AFLAGS := $(AFLAGS) -march=isac -mcpu=54455 -msoft-float
  23. +KBUILD_CFLAGS += -march=isac -mcpu=54455 -msoft-float -g
  24. +KBUILD_AFLAGS += -march=isac -mcpu=54455 -msoft-float
  25. endif
  26. ifdef CONFIG_KGDB