mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -173,7 +173,7 @@ define BuildPackage
|
|||||||
$(eval $(call BuildIPKGVariable,$(1),postinst))
|
$(eval $(call BuildIPKGVariable,$(1),postinst))
|
||||||
$(eval $(call BuildIPKGVariable,$(1),prerm))
|
$(eval $(call BuildIPKGVariable,$(1),prerm))
|
||||||
$(eval $(call BuildIPKGVariable,$(1),postrm))
|
$(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
|
mkdir -p $$(IDIR_$(1))/CONTROL
|
||||||
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
|
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
|
||||||
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
|
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
|
||||||
|
|||||||
Reference in New Issue
Block a user