components/openssl/openssl-1.0.1/Makefile
changeset 4370 7043c27399f1
parent 4339 6501cf9c29f9
child 4373 6d5db1ada4a5
--- a/components/openssl/openssl-1.0.1/Makefile	Wed May 27 17:12:47 2015 -0700
+++ b/components/openssl/openssl-1.0.1/Makefile	Thu May 28 09:54:36 2015 -0700
@@ -42,6 +42,13 @@
 
 TPNO=			21965
 
+# Clone the patch files to the patches-all dir.
+# COPY_COMMON_FILES is there so that rsync is called as soon as
+# the Makefile is parsed.
+PATCH_DIR=patches-all
+CLEAN_PATHS += $(PATCH_DIR)
+COPY_COMMON_FILES:= $(shell rsync -ac ../common/patches/ patches/ $(PATCH_DIR))
+
 include $(WS_MAKE_RULES)/prep.mk
 include $(WS_MAKE_RULES)/configure.mk
 include $(WS_MAKE_RULES)/ips.mk