File makefile-opensuse.patch of Package vhci-hcd

--- vhci-hcd-1.15.orig/Makefile	2015-06-27 19:39:14.000000000 +0800
+++ vhci-hcd-1.15/Makefile	2020-06-09 23:36:31.505621042 +0800
@@ -87,4 +87,5 @@
 
 $(CONF_H):
+	$(shell test -e $(CORE_INCLUDE_DIR)/hcd.h || (mkdir -p $(CORE_INCLUDE_DIR) && cp $(BUILD_PREFIX)/lib/modules/$(KVERSION)/source/include/linux/usb/hcd.h $(CORE_INCLUDE_DIR)))
 	$(MAKE) testconfig
 
openSUSE Build Service is sponsored by