Makefile (bf61c8840efe60fd8f91446860b63338fb424158) | Makefile (123f15e669d5a5a2e2f260ba4a5fc2efd93df20e) |
---|---|
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# Copyright (C) 2001 - 2005 Tensilica Inc. 7# 8# This file is included by the global makefile so that you can add your own --- 41 unchanged lines hidden (view full) --- 50KBUILD_CFLAGS += -pipe -mlongcalls 51 52KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,) 53 54ifneq ($(CONFIG_LD_NO_RELAX),) 55LDFLAGS := --no-relax 56endif 57 | 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# Copyright (C) 2001 - 2005 Tensilica Inc. 7# 8# This file is included by the global makefile so that you can add your own --- 41 unchanged lines hidden (view full) --- 50KBUILD_CFLAGS += -pipe -mlongcalls 51 52KBUILD_CFLAGS += $(call cc-option,-mforce-no-pic,) 53 54ifneq ($(CONFIG_LD_NO_RELAX),) 55LDFLAGS := --no-relax 56endif 57 |
58ifeq ($(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1) | 58ifeq ($(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1) |
59CHECKFLAGS += -D__XTENSA_EB__ 60endif | 59CHECKFLAGS += -D__XTENSA_EB__ 60endif |
61ifeq ($(shell echo -e __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1) | 61ifeq ($(shell echo __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1) |
62CHECKFLAGS += -D__XTENSA_EL__ 63endif 64 65vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) 66plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) 67 68ifeq ($(KBUILD_SRC),) 69KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(vardirs) $(plfdirs)) --- 41 unchanged lines hidden --- | 62CHECKFLAGS += -D__XTENSA_EL__ 63endif 64 65vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) 66plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) 67 68ifeq ($(KBUILD_SRC),) 69KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(vardirs) $(plfdirs)) --- 41 unchanged lines hidden --- |