summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pyhalov <apyhalov@gmail.com>2017-06-20 00:36:50 +0300
committerAlexander Pyhalov <apyhalov@gmail.com>2017-06-20 00:36:50 +0300
commita5522c0de40b6dc96929664af4b5ab3876ca8e1d (patch)
tree80f87606e76b062897ec7d67d5aa3396e5138794
parent6b289aebdf0242bc2d96f6090f294126571803cd (diff)
downloadillumos-gfx-drm-a5522c0de40b6dc96929664af4b5ab3876ca8e1d.tar.gz
8412 gfx-drm should support USERLAND_ARCHIVES
Reviewed by: Adam Števko <adam.stevko@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com>
-rw-r--r--usr/src/common/libdrm/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/common/libdrm/Makefile b/usr/src/common/libdrm/Makefile
index 8da266a..6746b70 100644
--- a/usr/src/common/libdrm/Makefile
+++ b/usr/src/common/libdrm/Makefile
@@ -58,15 +58,15 @@ check: FRC
patch -b -N -p 1 -i $$p ; done )
touch $@
-.unpacked: $(LIBDRM_ARCHIVE)
- tar xvfjo $(LIBDRM_ARCHIVE)
+.unpacked: $(USERLAND_ARCHIVES)$(LIBDRM_ARCHIVE)
+ tar xvfjo $(USERLAND_ARCHIVES)$(LIBDRM_ARCHIVE)
touch $@
-$(LIBDRM_ARCHIVE) :
- $(FETCH) -u $(LIBDRM_URL) -h $(LIBDRM_HASH)
+$(USERLAND_ARCHIVES)$(LIBDRM_ARCHIVE) :
+ $(FETCH) --file $@ -u $(LIBDRM_URL) -h $(LIBDRM_HASH)
clobber: clean
- $(RM) $(LIBDRM_ARCHIVE)
+ $(RM) $(USERLAND_ARCHIVES)$(LIBDRM_ARCHIVE)
clean: FRC
$(RM) -rf $(LIBDRM_DIR)