Makefile (9f13acb2406a3aed90c6738b3a2f1c0e43118cbd) Makefile (5a821e2d69e26b51b7f3740b6b0c3462b8cacaff)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for making ELF bootable images for booting on CHRP
3# using Open Firmware.
4#
5# Geert Uytterhoeven September 1997
6#
7# Based on coffboot by Paul Mackerras
8# Simplified for ppc64 by Todd Inglett

--- 56 unchanged lines hidden (view full) ---

65else
66BOOTTARGETFLAGS += -mlittle-endian
67endif
68
69BOOTCPPFLAGS := -nostdinc $(LINUXINCLUDE)
70BOOTCPPFLAGS += -isystem $(shell $(BOOTCC) -print-file-name=include)
71
72BOOTCFLAGS := $(BOOTTARGETFLAGS) \
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for making ELF bootable images for booting on CHRP
3# using Open Firmware.
4#
5# Geert Uytterhoeven September 1997
6#
7# Based on coffboot by Paul Mackerras
8# Simplified for ppc64 by Todd Inglett

--- 56 unchanged lines hidden (view full) ---

65else
66BOOTTARGETFLAGS += -mlittle-endian
67endif
68
69BOOTCPPFLAGS := -nostdinc $(LINUXINCLUDE)
70BOOTCPPFLAGS += -isystem $(shell $(BOOTCC) -print-file-name=include)
71
72BOOTCFLAGS := $(BOOTTARGETFLAGS) \
73 -std=gnu11 \
73 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
74 -fno-strict-aliasing -O2 \
75 -msoft-float -mno-altivec -mno-vsx \
76 $(call cc-option,-mno-prefixed) \
77 $(call cc-option,-mno-pcrel) \
78 $(call cc-option,-mno-mma) \
79 $(call cc-option,-mno-spe) $(call cc-option,-mspe=no) \
80 -fomit-frame-pointer -fno-builtin -fPIC

--- 418 unchanged lines hidden ---
74 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
75 -fno-strict-aliasing -O2 \
76 -msoft-float -mno-altivec -mno-vsx \
77 $(call cc-option,-mno-prefixed) \
78 $(call cc-option,-mno-pcrel) \
79 $(call cc-option,-mno-mma) \
80 $(call cc-option,-mno-spe) $(call cc-option,-mspe=no) \
81 -fomit-frame-pointer -fno-builtin -fPIC

--- 418 unchanged lines hidden ---