[uClinux-dev] [PATCH] nios2: fix arch prepare

Thomas Chou thomas at wytron.com.tw
Sat Feb 2 10:08:37 EST 2008


The prepare in arch Makefile should be spelled as archprepare. This
fixes the compilation error caused by asm-offsets.h dependency.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
---
 linux-2.6.x/arch/nios2nommu/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/linux-2.6.x/arch/nios2nommu/Makefile b/linux-2.6.x/arch/nios2nommu/Makefile
index 632f049..d7ff149 100644
--- a/linux-2.6.x/arch/nios2nommu/Makefile
+++ b/linux-2.6.x/arch/nios2nommu/Makefile
@@ -142,7 +142,7 @@ hwselect:
 	@echo $($(quiet)cmd_gen_mk);
 	@$(cmd_gen_mk)	
 	
-prepare: include/nios2_system.h
+archprepare: include/nios2_system.h
 
 archclean:
 	@$(MAKE) $(clean)=arch/$(ARCH)/boot
-- 
1.5.3.3



More information about the uClinux-dev mailing list