Makefile (ec82c32d45644998a28abad0a6a9ccdd721a054e) | Makefile (61bee20445935ee9802d25c261849440497497d3) |
---|---|
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 --- 73 unchanged lines hidden (view full) --- 82 83define archhelp 84 echo '* linux - Binary kernel image (./linux) - for backward' 85 echo ' compatibility only, this creates a hard link to the' 86 echo ' real kernel binary, the "vmlinux" binary you' 87 echo ' find in the kernel root.' 88endef 89 | 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 --- 73 unchanged lines hidden (view full) --- 82 83define archhelp 84 echo '* linux - Binary kernel image (./linux) - for backward' 85 echo ' compatibility only, this creates a hard link to the' 86 echo ' real kernel binary, the "vmlinux" binary you' 87 echo ' find in the kernel root.' 88endef 89 |
90ifneq ($(KBUILD_SRC),) 91$(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(HEADER_ARCH) $(ARCH_DIR)/Kconfig.arch) 92else 93$(shell ln -fsn Kconfig.$(HEADER_ARCH) $(ARCH_DIR)/Kconfig.arch) 94endif | 90KBUILD_KCONFIG := arch/um/Kconfig.$(HEADER_ARCH) |
95 96archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/shared/user_constants.h 97prepare: $(ARCH_DIR)/include/shared/kern_constants.h 98 99LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static 100LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib 101 102CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) \ --- 20 unchanged lines hidden (view full) --- 123 $(filter-out $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) vmlinux.o \ 124 FORCE ,$^) ; rm -f linux 125endef 126 127# When cleaning we don't include .config, so we don't include 128# TT or skas makefiles and don't clean skas_ptregs.h. 129CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/shared/uml-config.h \ 130 $(ARCH_DIR)/include/shared/user_constants.h \ | 91 92archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/shared/user_constants.h 93prepare: $(ARCH_DIR)/include/shared/kern_constants.h 94 95LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static 96LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib 97 98CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) \ --- 20 unchanged lines hidden (view full) --- 119 $(filter-out $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) vmlinux.o \ 120 FORCE ,$^) ; rm -f linux 121endef 122 123# When cleaning we don't include .config, so we don't include 124# TT or skas makefiles and don't clean skas_ptregs.h. 125CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/shared/uml-config.h \ 126 $(ARCH_DIR)/include/shared/user_constants.h \ |
131 $(ARCH_DIR)/include/shared/kern_constants.h $(ARCH_DIR)/Kconfig.arch | 127 $(ARCH_DIR)/include/shared/kern_constants.h |
132 133MRPROPER_FILES += $(ARCH_SYMLINKS) 134 135archclean: 136 @find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \ 137 -o -name '*.gcov' \) -type f -print | xargs rm -f 138 139$(objtree)/$(ARCH_DIR)/include/shared: --- 35 unchanged lines hidden --- | 128 129MRPROPER_FILES += $(ARCH_SYMLINKS) 130 131archclean: 132 @find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \ 133 -o -name '*.gcov' \) -type f -print | xargs rm -f 134 135$(objtree)/$(ARCH_DIR)/include/shared: --- 35 unchanged lines hidden --- |