9
0
Fork 0

[kbuild] move -ffreestanding from architecture Makefiles to toplevel

Makefile
This commit is contained in:
Sascha Hauer 2008-06-03 12:37:52 +02:00
parent bca64df501
commit b8725ffe1d
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
CPPFLAGS += -ffreestanding -nostdinc -Wall \
CPPFLAGS += -nostdinc -Wall \
-pipe -D __ARM__ -fno-strict-aliasing

View File

@ -1,5 +1,5 @@
CPPFLAGS += -ffreestanding -nostdinc -Wall \
CPPFLAGS += -nostdinc -Wall \
-pipe -fno-strict-aliasing

View File

@ -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

View File

@ -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

View File

@ -1,5 +1,5 @@
CPPFLAGS += -ffreestanding -nostdinc -Wall \
CPPFLAGS += -nostdinc -Wall \
-pipe -fno-strict-aliasing
machine-y := sandbox