diff options
author | James Morris <jmorris@namei.org> | 2009-05-22 04:40:59 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-05-22 04:40:59 -0400 |
commit | 2c9e703c618106f5383226fbb1f526cb11034f8a (patch) | |
tree | 87d7548001ea82f655fede0640466fc16aabcdf7 /arch/cris/boot/Makefile | |
parent | 6470c077cae12227318f40f3e6d756caadcce4b0 (diff) | |
parent | 5805977e63a36ad56594a623f3bd2bebcb7db233 (diff) |
Merge branch 'master' into next
Conflicts:
fs/exec.c
Removed IMA changes (the IMA checks are now performed via may_open()).
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'arch/cris/boot/Makefile')
-rw-r--r-- | arch/cris/boot/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/cris/boot/Makefile b/arch/cris/boot/Makefile new file mode 100644 index 000000000000..144f3afa0119 --- /dev/null +++ b/arch/cris/boot/Makefile | |||
@@ -0,0 +1,24 @@ | |||
1 | # | ||
2 | # arch/cris/boot/Makefile | ||
3 | # | ||
4 | |||
5 | objcopyflags-$(CONFIG_ETRAX_ARCH_V10) += -R .note -R .comment | ||
6 | objcopyflags-$(CONFIG_ETRAX_ARCH_V32) += --remove-section=.bss | ||
7 | |||
8 | OBJCOPYFLAGS = -O binary $(objcopyflags-y) | ||
9 | |||
10 | |||
11 | subdir- := compressed rescue | ||
12 | targets := Image | ||
13 | |||
14 | $(obj)/Image: vmlinux FORCE | ||
15 | $(call if_changed,objcopy) | ||
16 | @echo ' Kernel: $@ is ready' | ||
17 | |||
18 | $(obj)/compressed/vmlinux: $(obj)/Image FORCE | ||
19 | $(Q)$(MAKE) $(build)=$(obj)/compressed $@ | ||
20 | $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin | ||
21 | |||
22 | $(obj)/zImage: $(obj)/compressed/vmlinux | ||
23 | @cp $< $@ | ||
24 | @echo ' Kernel: $@ is ready' | ||