From: mbm Date: Mon, 10 Jul 2006 23:21:08 +0000 (+0000) Subject: rebuild ipkg control files if Makefile changes X-Git-Tag: fast2504n-3.10.28-merged~22942^2~427 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=e7359513bec031e2a0d5c38fa8e9b5fd3cd2ab40;p=openwrt.git rebuild ipkg control files if Makefile changes git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4124 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/package.mk b/include/package.mk index 618c3c5553..7aea314abc 100644 --- a/include/package.mk +++ b/include/package.mk @@ -173,7 +173,7 @@ define BuildPackage $(eval $(call BuildIPKGVariable,$(1),postinst)) $(eval $(call BuildIPKGVariable,$(1),prerm)) $(eval $(call BuildIPKGVariable,$(1),postrm)) - $$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.prepared + $$(IDIR_$(1))/CONTROL/control: Makefile $(PKG_BUILD_DIR)/.prepared mkdir -p $$(IDIR_$(1))/CONTROL echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control