From 5869c2d6216298b48d66fcdf0aa9de2937479338 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 27 Apr 2009 21:48:20 -0700 Subject: Fix NASM dependency generation Fix missing -M from NASM dependency generation calls; adopt the uniform stanza "-M -DDEPEND" even for sites that were already correct. Also, use ">" not ">>" for obvious reasons... Signed-off-by: H. Peter Anvin --- modules/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/Makefile b/modules/Makefile index 3f82eeeb..3ae463f0 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -33,7 +33,7 @@ all: $(BINS) $(OBJCOPY) -O binary $< $@ %.com: %.asm - ( $(NASM) -DDEPEND -o $@ $< ; echo '' ) >> .$@.d ; true + ( $(NASM) -M -DDEPEND -o $@ $< ; echo '' ) > .$@.d ; true $(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $< $(LIB): $(LIBOBJS) -- cgit v1.2.1