Commit b594f96f authored by Alex Tsariounov's avatar Alex Tsariounov Committed by David Mosberger

[PATCH] ia64: small patch for arch/ia64/lib/Makefile for xor.o

I was building 2.5 and noticed that if you have raid5 configured as
a module, then the arch/ia64/lib/xor.S would not get built (gets a
make error since c file not there).

Attached patch fixes that so xor.S gets built if raid5 is built-in
or a module.
parent 27993c04
...@@ -14,7 +14,12 @@ obj-y := __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \ ...@@ -14,7 +14,12 @@ obj-y := __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
obj-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o obj-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o
obj-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o obj-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
obj-$(CONFIG_PERFMON) += carta_random.o obj-$(CONFIG_PERFMON) += carta_random.o
obj-$(CONFIG_MD_RAID5) += xor.o
ifeq ($(CONFIG_MD_RAID5),m)
obj-y += xor.o
else
obj-$(CONFIG_MD_RAID5) += xor.o
endif
IGNORE_FLAGS_OBJS = __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \ IGNORE_FLAGS_OBJS = __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
__divdi3.o __udivdi3.o __moddi3.o __umoddi3.o __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment