Makefile (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) Makefile (c425c546c0f149560c778595c1a20a88a444711f)
1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License. See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6
1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License. See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6
7ifeq ($(BIG_ENDIAN),1)
8OBJCOPY_ARGS := -O elf32-xtensa-be
9else
10OBJCOPY_ARGS := -O elf32-xtensa-le
11endif
7OBJCOPY_ARGS := -O $(if $(CONFIG_CPU_BIG_ENDIAN),elf32-xtensa-be,elf32-xtensa-le)
12
13export OBJCOPY_ARGS
14export CPPFLAGS_boot.lds += -P -C
15export KBUILD_AFLAGS += -mtext-section-literals
16
17boot-y := bootstrap.o
18targets += $(boot-y) boot.lds
19

--- 16 unchanged lines hidden ---
8
9export OBJCOPY_ARGS
10export CPPFLAGS_boot.lds += -P -C
11export KBUILD_AFLAGS += -mtext-section-literals
12
13boot-y := bootstrap.o
14targets += $(boot-y) boot.lds
15

--- 16 unchanged lines hidden ---