From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 1 Sep 2008 11:03:58 +0000 (+0000)
Subject: add an extra build step Build/Install which allows you to run a make install target... 
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/7ed16efdcd22219b6fb4700c9c2c0ae0202fdd98

add an extra build step Build/Install which allows you to run a make install target after the post-compile hooks have run - will be necessary for some libtool dependent stuff

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12452 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/include/package.mk b/include/package.mk
index 8819a1156..e0f8c719f 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -81,6 +81,8 @@ define Build/DefaultTargets
 	$(foreach hook,$(Hooks/Compile/Pre),$(call $(hook))$(sep))
 	$(Build/Compile)
 	$(foreach hook,$(Hooks/Compile/Post),$(call $(hook))$(sep))
+	$(Build/Install)
+	$(foreach hook,$(Hooks/Install/Post),$(call $(hook))$(sep))
 	touch $$@
 
   $(STAMP_INSTALLED): $(STAMP_BUILT)