[kbuild] move -ffreestanding from architecture Makefiles to toplevel
Makefile
This commit is contained in:
parent
bca64df501
commit
b8725ffe1d
2
Makefile
2
Makefile
|
@ -305,7 +305,7 @@ LINUXINCLUDE := -Iinclude \
|
|||
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
||||
-include include/linux/autoconf.h
|
||||
|
||||
CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin
|
||||
CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
|
||||
|
||||
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||
-fno-strict-aliasing -fno-common -Os
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
CPPFLAGS += -ffreestanding -nostdinc -Wall \
|
||||
CPPFLAGS += -nostdinc -Wall \
|
||||
-pipe -D __ARM__ -fno-strict-aliasing
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
CPPFLAGS += -ffreestanding -nostdinc -Wall \
|
||||
CPPFLAGS += -nostdinc -Wall \
|
||||
-pipe -fno-strict-aliasing
|
||||
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# along with U-Boot V2. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
CPPFLAGS += -ffreestanding -nostdinc -Wall \
|
||||
CPPFLAGS += -nostdinc -Wall \
|
||||
-isystem $(gccincdir) -pipe -D __M68K__ \
|
||||
-fno-strict-aliasing
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
CPPFLAGS += -ffreestanding -nostdinc -Wall -ffixed-r14 \
|
||||
CPPFLAGS += -nostdinc -Wall -ffixed-r14 \
|
||||
-pipe -meabi -Wstrict-prototypes -D __PPC__ -D CONFIG_PPC \
|
||||
-fno-strict-aliasing
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
CPPFLAGS += -ffreestanding -nostdinc -Wall \
|
||||
CPPFLAGS += -nostdinc -Wall \
|
||||
-pipe -fno-strict-aliasing
|
||||
|
||||
machine-y := sandbox
|
||||
|
|
Loading…
Reference in New Issue