add package install target
[openwrt.org/openwrt.git] / package / Makefile
blob:a/package/Makefile -> blob:b/package/Makefile
--- a/package/Makefile
+++ b/package/Makefile
@@ -16,6 +16,10 @@
 	@echo "-> make $@"
 	$(MAKE) -C $(patsubst %-compile,%,$@) compile
 
+%-install: $(STAMP_DIR) $(TARGET_DIR)
+	@echo "-> make $@"
+	$(MAKE) -C $(patsubst %-install,%,$@) install
+
 %-clean: $(STAMP_DIR) $(TARGET_DIR)
 	$(MAKE) -C $(patsubst %-clean,%,$@) clean
 

comments