Skip to content

Commit

Permalink
Add missing BUILD_DEPENDS to deptree and kernel-req.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Bean committed Feb 10, 2017
1 parent fed349e commit 7a45b96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mk/spksrc.cross-cc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ $(DIGESTS_FILE): download

dependency-tree:
@echo `perl -e 'print "\\\t" x $(MAKELEVEL),"\n"'`+ $(NAME) $(PKG_VERS)
@for depend in $(DEPENDS) ; \
@for depend in $(BUILD_DEPENDS) $(DEPENDS) ; \
do \
$(MAKE) --no-print-directory -C ../../$$depend dependency-tree ; \
done
Expand All @@ -127,7 +127,7 @@ kernel-required:
@if [ -n "$(REQ_KERNEL)" ]; then \
exit 1 ; \
fi
@for depend in $(DEPENDS) ; do \
@for depend in $(BUILD_DEPENDS) $(DEPENDS) ; do \
if $(MAKE) --no-print-directory -C ../../$$depend kernel-required >/dev/null 2>&1 ; then \
exit 0 ; \
else \
Expand Down
4 changes: 2 additions & 2 deletions mk/spksrc.spk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ all: package

dependency-tree:
@echo `perl -e 'print "\\\t" x $(MAKELEVEL),"\n"'`+ $(NAME)
@for depend in $(DEPENDS) ; \
@for depend in $(BUILD_DEPENDS) $(DEPENDS) ; \
do \
$(MAKE) --no-print-directory -C ../../$$depend dependency-tree ; \
done
Expand Down Expand Up @@ -434,7 +434,7 @@ kernel-required:
@if [ -n "$(REQ_KERNEL)" ]; then \
exit 1 ; \
fi
@for depend in $(DEPENDS) ; do \
@for depend in $(BUILD_DEPENDS) $(DEPENDS) ; do \
if $(MAKE) --no-print-directory -C ../../$$depend kernel-required >/dev/null 2>&1 ; then \
exit 0 ; \
else \
Expand Down

0 comments on commit 7a45b96

Please sign in to comment.