diff options
author | Michal Marek <mmarek@suse.cz> | 2010-08-04 07:59:13 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-04 07:59:13 -0400 |
commit | 772320e84588dcbe1600ffb83e5f328f2209ac2a (patch) | |
tree | a7de21b79340aeaa17c58126f6b801b82c77b53a /arch/blackfin/Makefile | |
parent | 1ce53adf13a54375d2a5c7cdbe341b2558389615 (diff) | |
parent | 9fe6206f400646a2322096b56c59891d530e8d51 (diff) |
Merge commit 'v2.6.35' into kbuild/kbuild
Conflicts:
arch/powerpc/Makefile
Diffstat (limited to 'arch/blackfin/Makefile')
-rw-r--r-- | arch/blackfin/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index f7ef923297fc..9d5ffaf5492a 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
@@ -14,6 +14,9 @@ OBJCOPYFLAGS := -O binary -R .note -R .comment -S | |||
14 | GZFLAGS := -9 | 14 | GZFLAGS := -9 |
15 | 15 | ||
16 | KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) | 16 | KBUILD_CFLAGS += $(call cc-option,-mno-fdpic) |
17 | ifeq ($(CONFIG_ROMKERNEL),y) | ||
18 | KBUILD_CFLAGS += -mlong-calls | ||
19 | endif | ||
17 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) | 20 | KBUILD_AFLAGS += $(call cc-option,-mno-fdpic) |
18 | KBUILD_CFLAGS_MODULE += -mlong-calls | 21 | KBUILD_CFLAGS_MODULE += -mlong-calls |
19 | KBUILD_LDFLAGS_MODULE += -m elf32bfin | 22 | KBUILD_LDFLAGS_MODULE += -m elf32bfin |
@@ -130,7 +133,6 @@ KBUILD_CFLAGS += -Iarch/$(ARCH)/mach-$(MACHINE)/include | |||
130 | KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) | 133 | KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs)) |
131 | 134 | ||
132 | CLEAN_FILES += \ | 135 | CLEAN_FILES += \ |
133 | arch/$(ARCH)/include/asm/asm-offsets.h \ | ||
134 | arch/$(ARCH)/kernel/asm-offsets.s \ | 136 | arch/$(ARCH)/kernel/asm-offsets.s \ |
135 | 137 | ||
136 | archclean: | 138 | archclean: |
@@ -138,7 +140,7 @@ archclean: | |||
138 | 140 | ||
139 | INSTALL_PATH ?= /tftpboot | 141 | INSTALL_PATH ?= /tftpboot |
140 | boot := arch/$(ARCH)/boot | 142 | boot := arch/$(ARCH)/boot |
141 | BOOT_TARGETS = vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma | 143 | BOOT_TARGETS = vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma vmImage.xip |
142 | PHONY += $(BOOT_TARGETS) install | 144 | PHONY += $(BOOT_TARGETS) install |
143 | KBUILD_IMAGE := $(boot)/vmImage | 145 | KBUILD_IMAGE := $(boot)/vmImage |
144 | 146 | ||
@@ -156,6 +158,7 @@ define archhelp | |||
156 | echo ' vmImage.bz2 - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bz2)' | 158 | echo ' vmImage.bz2 - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bz2)' |
157 | echo '* vmImage.gz - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)' | 159 | echo '* vmImage.gz - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)' |
158 | echo ' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)' | 160 | echo ' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)' |
161 | echo ' vmImage.xip - XIP Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.xip)' | ||
159 | echo ' install - Install kernel using' | 162 | echo ' install - Install kernel using' |
160 | echo ' (your) ~/bin/$(INSTALLKERNEL) or' | 163 | echo ' (your) ~/bin/$(INSTALLKERNEL) or' |
161 | echo ' (distribution) PATH: $(INSTALLKERNEL) or' | 164 | echo ' (distribution) PATH: $(INSTALLKERNEL) or' |