From 51693513011741c54fccb1d768abd8715481a801 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Sat, 26 Jul 2008 23:56:17 +0930 Subject: [PATCH] Makefile: Added setup-optware- target, and fixed push target --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3a2b79e..fdee084 100644 --- a/Makefile +++ b/Makefile @@ -272,9 +272,13 @@ setup-openwrt openwrt/.configured: common/.git/config ${MAKE} oldconfig ) touch openwrt/.configured +.PHONY: setup-optware-% +setup-optware-%: optware/.git/config + ${MAKE} optware/$*/.configured + # This pattern rule has to come before the subsequent %/.configured openembedded pattern rule. .PRECIOUS: optware/%/.configured -optware/%/.configured: optware/.configured +optware/%/.configured: optware/.git/config [ -e downloads ] || ( mkdir -p downloads ) [ -e optware/$*/Makefile ] || ( \ mkdir -p optware/$* ; \ @@ -648,11 +652,13 @@ push-common: update-common .PHONY: push-optware push-optware: update-optware - ( cd optware ; git dcommit ) + ( cd optware ; git svn dcommit ) + ( cd optware ; git push --all ssh://repo.or.cz/srv/git/nslu2-linux/optware.git ) .PHONY: push-kernel push-kernel: update-kernel - ( cd kernel ; git dcommit ) + ( cd kernel ; git svn dcommit ) + ( cd kernel ; git push --all ssh://repo.or.cz/srv/git/nslu2-linux/kernel.git ) .PHONY: import import: import-optware import-kernel -- 2.11.4.GIT