diff options
author | Carsten Schlote <c.schlote@konzeptpark.de> | 2010-02-18 11:12:39 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-02-21 14:10:40 +0100 |
commit | eff0e13f28f43cab5e5924b6efcba415e378170e (patch) | |
tree | 03cd934ea485e18444d525d794e00132eb9824e8 /rules/post/image_ipkg.make | |
parent | b006492214284590784baab6095f6426e6ff87da (diff) | |
download | ptxdist-eff0e13f28f43cab5e5924b6efcba415e378170e.tar.gz ptxdist-eff0e13f28f43cab5e5924b6efcba415e378170e.tar.xz |
[ipkg-push] Added make target for ipkg-push
Added helper target to call ipkg-push with
ptxdist make ipkg-push
This turns out to be useful, when you're going to update your
targets with ipkg {update|upgrade} and a full image build for
your project isn't required and can be omitted.
Also some good example, how ptxdist make <target> can be used.
As I can't imagine any use-case, where you push an incomplete set
of ipkg files, the $(STATEDIR)/ipkg-push stage now also depends
on world.targetinstall. This avoids mistakes and the call to
'ptxdist go' before 'ptxdist make ipkg-push'.
Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/post/image_ipkg.make')
-rw-r--r-- | rules/post/image_ipkg.make | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/post/image_ipkg.make b/rules/post/image_ipkg.make index 6744fcdde..aa019f736 100644 --- a/rules/post/image_ipkg.make +++ b/rules/post/image_ipkg.make @@ -11,7 +11,9 @@ SEL_ROOTFS-$(PTXCONF_IMAGE_IPKG_PUSH_TO_REPOSITORY) += $(STATEDIR)/ipkg-push -$(STATEDIR)/ipkg-push: $(STATEDIR)/host-ipkg-utils.install.post +ipkg-push : $(STATEDIR)/ipkg-push + +$(STATEDIR)/ipkg-push: $(STATEDIR)/host-ipkg-utils.install.post $(STATEDIR)/world.targetinstall @$(call targetinfo) ifdef PTXCONF_IMAGE_IPKG_FORCED_PUSH rm -rf $(PTXCONF_SETUP_IPKG_REPOSITORY)/$(PTXCONF_PROJECT)/dists/$(PTXCONF_PROJECT)$(PTXCONF_PROJECT_VERSION) |