summaryrefslogtreecommitdiff
path: root/package/pkg-generic.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/pkg-generic.mk')
-rw-r--r--package/pkg-generic.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index b519d6942..1b99c2a25 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -470,7 +470,8 @@ $(1)-show-depends:
$(1)-graph-depends:
@$(INSTALL) -d $(O)/graphs
- @./support/scripts/graph-depends $(1) \
+ @cd "$(CONFIG_DIR)"; \
+ $(TOPDIR)/support/scripts/graph-depends $(1) \
|dot -T$(BR2_GRAPH_OUT) -o $(O)/graphs/$$(@).$(BR2_GRAPH_OUT)
$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN)