From 04a86a613e0f9bfbbad99874f72217f75e8c53a3 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Thu, 29 Mar 2018 15:59:05 +0800
Subject: [PATCH] contrib.mak: fix for parallel build

Upstream-Status: Pending

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>

Rebase to 9.23
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
 contrib/contrib.mak | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/contrib.mak b/contrib/contrib.mak
index 2edee7a..c9100e8 100644
--- a/contrib/contrib.mak
+++ b/contrib/contrib.mak
@@ -1241,6 +1241,7 @@ $(DEVOBJ)gdevalps.$(OBJ) : $(JAPSRC)gdevalps.c $(PDEVH) \
 ### ----------------- Additional .upp files ---------------- ###
 
 extra-upp-install: install-libdata
+	mkdir -p $(DESTDIR)$(gsdatadir)$(D)lib
 	for f in $(CONTRIBSRC)uniprint$(D)*.upp; do \
 	    $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)$(D)lib || exit 1; \
 	done
