Makefile (6aa56115c73b37270e53aa91984bdb8b60164ec7) | Makefile (83e913f52aba69149261742aa9ea4ceea7bf182d) |
---|---|
1# 2# This file is included by the global makefile so that you can add your own 3# architecture-specific flags and dependencies. 4# 5# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 6# Licensed under the GPL 7# 8 --- 130 unchanged lines hidden (view full) --- 139LDFLAGS_EXECSTACK = -z noexecstack 140ifeq ($(CONFIG_LD_IS_BFD),y) 141LDFLAGS_EXECSTACK += $(call ld-option,--no-warn-rwx-segments) 142endif 143 144LD_FLAGS_CMDLINE = $(foreach opt,$(KBUILD_LDFLAGS) $(LDFLAGS_EXECSTACK),-Wl,$(opt)) 145 146# Used by link-vmlinux.sh which has special support for um link | 1# 2# This file is included by the global makefile so that you can add your own 3# architecture-specific flags and dependencies. 4# 5# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 6# Licensed under the GPL 7# 8 --- 130 unchanged lines hidden (view full) --- 139LDFLAGS_EXECSTACK = -z noexecstack 140ifeq ($(CONFIG_LD_IS_BFD),y) 141LDFLAGS_EXECSTACK += $(call ld-option,--no-warn-rwx-segments) 142endif 143 144LD_FLAGS_CMDLINE = $(foreach opt,$(KBUILD_LDFLAGS) $(LDFLAGS_EXECSTACK),-Wl,$(opt)) 145 146# Used by link-vmlinux.sh which has special support for um link |
147export CFLAGS_vmlinux := $(LINK-y) $(LINK_WRAPS) $(LD_FLAGS_CMDLINE) | 147export CFLAGS_vmlinux := $(LINK-y) $(LINK_WRAPS) $(LD_FLAGS_CMDLINE) $(CC_FLAGS_LTO) |
148 149# When cleaning we don't include .config, so we don't include 150# TT or skas makefiles and don't clean skas_ptregs.h. 151CLEAN_FILES += linux x.i gmon.out 152MRPROPER_FILES += arch/$(SUBARCH)/include/generated 153 154archclean: 155 @find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \ 156 -o -name '*.gcov' \) -type f -print | xargs rm -f 157 158export HEADER_ARCH SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS DEV_NULL_PATH | 148 149# When cleaning we don't include .config, so we don't include 150# TT or skas makefiles and don't clean skas_ptregs.h. 151CLEAN_FILES += linux x.i gmon.out 152MRPROPER_FILES += arch/$(SUBARCH)/include/generated 153 154archclean: 155 @find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \ 156 -o -name '*.gcov' \) -type f -print | xargs rm -f 157 158export HEADER_ARCH SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS DEV_NULL_PATH |