mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
Fix gcc 3.4.x AFLAGS setting for m68k platform.
This commit is contained in:
parent
27333f8c34
commit
b62fa913d4
2 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix gcc 3.4.x AFLAGS setting for m68k platform.
|
||||||
|
|
||||||
* Enable autoboot for M5271EVB board.
|
* Enable autoboot for M5271EVB board.
|
||||||
|
|
||||||
* Changed default ramdisk addr in yosemite/yellowstone ports
|
* Changed default ramdisk addr in yosemite/yellowstone ports
|
||||||
|
|
|
@ -143,14 +143,15 @@ CFLAGS := $(CPPFLAGS) -Wall -Wno-trigraphs
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
AFLAGS_DEBUG := -Wa,-gstabs
|
||||||
|
|
||||||
# turn jbsr into jsr for m68k
|
# turn jbsr into jsr for m68k
|
||||||
ifeq ($(ARCH),m68k)
|
ifeq ($(ARCH),m68k)
|
||||||
ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4)
|
ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4)
|
||||||
AFLAGS_DEBUG := -Wa,-gstabs,-S
|
AFLAGS_DEBUG := -Wa,-gstabs,-S
|
||||||
endif
|
endif
|
||||||
else
|
|
||||||
AFLAGS_DEBUG := -Wa,-gstabs
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
|
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
|
||||||
|
|
||||||
LDFLAGS += -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE) $(PLATFORM_LDFLAGS)
|
LDFLAGS += -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE) $(PLATFORM_LDFLAGS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue