mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Joakim Tjernlund](/assets/img/avatar_default.png)
-msingle-pic-base is a new gcc(from 4.6) option for ppc and it reduces the size of my u-boot with about 4 KB. While at it, add -fno-jump-tables too to save a few more bytes. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Reviewed-by: Mario Six <mario.six@gdsys.cc> Tested-by: Mario Six <mario.six@gdsys.cc> (on MPC8308)
7 lines
190 B
Makefile
7 lines
190 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright 2004 Freescale Semiconductor, Inc.
|
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_E300 -msoft-float
|
|
PLATFORM_RELFLAGS += -msingle-pic-base -fno-jump-tables
|