Skip to content

Commit 8aa1063

Browse files
If using spike then ensure that git clone done for pk before configuring/building it
1 parent 66f3efb commit 8aa1063

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ endif
270270

271271
ifeq ($(findstring $(srcdir),$(SPIKE_SRCDIR)),$(srcdir))
272272
SPIKE_SRC_GIT := $(SPIKE_SRCDIR)/.git
273+
PK_SRC_GIT := $(PK_SRCDIR)/.git
273274
else
274275
SPIKE_SRC_GIT :=
275276
endif
@@ -847,7 +848,7 @@ stamps/build-spike: $(SPIKE_SRCDIR) $(SPIKE_SRC_GIT)
847848
mkdir -p $(dir $@)
848849
date > $@
849850

850-
stamps/build-pk32: $(PK_SRCDIR) stamps/build-gcc-newlib-stage2
851+
stamps/build-pk32: $(PK_SRCDIR) $(PK_SRC_GIT) stamps/build-gcc-newlib-stage2
851852
rm -rf $@ $(notdir $@)
852853
mkdir $(notdir $@)
853854
cd $(notdir $@) && $</configure \
@@ -860,7 +861,7 @@ stamps/build-pk32: $(PK_SRCDIR) stamps/build-gcc-newlib-stage2
860861
mkdir -p $(dir $@)
861862
date > $@
862863

863-
stamps/build-pk64: $(PK_SRCDIR) stamps/build-gcc-newlib-stage2
864+
stamps/build-pk64: $(PK_SRCDIR) $(PK_SRC_GIT) stamps/build-gcc-newlib-stage2
864865
rm -rf $@ $(notdir $@)
865866
mkdir $(notdir $@)
866867
cd $(notdir $@) && $</configure \

0 commit comments

Comments
 (0)