From e7c2029c9c32603cc15c2cb8af1922b9e4543143 Mon Sep 17 00:00:00 2001 From: David Given Date: Fri, 17 May 2013 00:04:37 +0100 Subject: [PATCH 1/2] Dependency fixes. --- first/core.mk | 2 +- mach/proto/as/build.mk | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/first/core.mk b/first/core.mk index 1dc82c5b9..d2e32fc68 100644 --- a/first/core.mk +++ b/first/core.mk @@ -93,7 +93,7 @@ endef # --- ACK library linking define acklibrary-rule -$o: $s $(ACKAR) +$o: $s $(AAL) @echo ACKLIBRARY $o @mkdir -p $(dir $o) @$(RM) $o diff --git a/mach/proto/as/build.mk b/mach/proto/as/build.mk index 039630f75..64eaab1e9 100644 --- a/mach/proto/as/build.mk +++ b/mach/proto/as/build.mk @@ -25,7 +25,9 @@ define build-as-impl $(call yacc, $(OBJDIR)/$D, $(OBJDIR)/$D/preprocessed-comm2.y) $(eval CLEANABLES += $(OBJDIR)/$D/preprocessed-comm2.y) -$(OBJDIR)/$D/preprocessed-comm2.y: mach/proto/as/comm2.y $(CPPANSI) +$(OBJDIR)/$D/preprocessed-comm2.y: mach/proto/as/comm2.y $(CPPANSI) \ + mach/$(ARCH)/as/mach2.c \ + mach/$(ARCH)/as/mach4.c @echo PREPROCESS $$@ @mkdir -p $$(dir $$@) $(hide) $(CPPANSI) -P \ From 9a513e8ef3d390b7fd41a2c7299dad2e6bb4bcb8 Mon Sep 17 00:00:00 2001 From: David Given Date: Fri, 17 May 2013 00:04:54 +0100 Subject: [PATCH 2/2] Fix warning. --- lang/m2/comp/defmodule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/m2/comp/defmodule.c b/lang/m2/comp/defmodule.c index fc83d36fd..f26168a28 100644 --- a/lang/m2/comp/defmodule.c +++ b/lang/m2/comp/defmodule.c @@ -12,6 +12,7 @@ #include "parameters.h" #include "debug.h" +#include #include #include #include