summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-16 10:11:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-16 10:11:12 +0100
commit40e385e8489f1319219179f24b44c41d672f3719 (patch)
treea52490310d259b4b88ba404de4156d20fb266a07
parentb446a21956b1d6369d6803237a84da488e1b9ce6 (diff)
add make dep shortcut
now you can use make dep menu menuconfig, if you change any PKG_DEPENDS or PKG_BUILDDEPS
-rw-r--r--Makefile4
-rw-r--r--mk/build.mk5
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b6d13687..5e9c37a3e 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,7 @@ pkg-help:
dev-help:
@echo 'Regenerate menu information via "make menu"'
+ @echo 'Regenerate dependency information via "make dep"'
@echo
@echo 'Fast way of updating package patches:'
@echo ' run "make package=<pkgname> clean" to start with a good base'
@@ -146,6 +147,9 @@ bulk: .prereq_done
menu: .prereq_done
@${GMAKE_INV} menu
+dep: .prereq_done
+ @${GMAKE_INV} dep
+
world: .prereq_done
@${GMAKE_INV} world
diff --git a/mk/build.mk b/mk/build.mk
index ec501922e..758e3a3c4 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -423,4 +423,7 @@ bulk:
mksh $(TOPDIR)/package/pkgmaker
@:>.menu
-.PHONY: menu
+dep:
+ mksh $(TOPDIR)/package/depmaker
+
+.PHONY: menu dep