diff options
author | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-03-20 17:08:24 +0000 |
---|---|---|
committer | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-03-20 17:08:24 +0000 |
commit | e5baf6bef849d2e590f9b11343892ad2468d44b5 (patch) | |
tree | 02db08ae3f4022ffc4abd0fd34bc68cf6249ff02 /Makefile | |
parent | ccdf22edff25608249845ea781c575cc29646b09 (diff) | |
download | upstream-e5baf6bef849d2e590f9b11343892ad2468d44b5.tar.gz upstream-e5baf6bef849d2e590f9b11343892ad2468d44b5.tar.bz2 upstream-e5baf6bef849d2e590f9b11343892ad2468d44b5.zip |
fix package/symlinks target, will call scripts/feeds update / install
introduce new package/symlinks-install and package/symlinks-clean targets
- package/symlink-install will re-create the index files and the symlinks for all ./feeds (no update from repositories is performed)
- package/symlink-clean will delete all installed symlinks (keeping the ./feeds untouched)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -57,10 +57,20 @@ prepare: .config $(tools/stamp-install) $(toolchain/stamp-install) world: prepare $(target/stamp-compile) $(package/stamp-cleanup) $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare) $(target/stamp-install) FORCE $(MAKE) package/index +# update all feeds, re-create index files, install symlinks package/symlinks: - $(SCRIPT_DIR)/feeds update - cd package; ln -sf ../feeds/packages openwrt-packages + $(SCRIPT_DIR)/feeds update -a + $(SCRIPT_DIR)/feeds install -a -.PHONY: clean dirclean prereq prepare world package/symlinks +# re-create index files, install symlinks +package/symlinks-install: + $(SCRIPT_DIR)/feeds update -i + $(SCRIPT_DIR)/feeds install -a + +# remove all symlinks, don't touch ./feeds +package/symlinks-clean: + $(SCRIPT_DIR)/feeds uninstall -a + +.PHONY: clean dirclean prereq prepare world package/symlinks package/symlinks-install package/symlinks-clean endif |