summaryrefslogtreecommitdiff
path: root/package/libdrm
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 13:30:49 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 13:30:49 +0000
commitb6c3bd5817c4399ff4f57e6141ad04d575042ee3 (patch)
tree4504dff6eb7068b894b0a4b9798a2220b6dc13e9 /package/libdrm
parent6547bced933fface8e0f0dde08f0e0fe1777ddf9 (diff)
- use proper include dir (Simon Pasch)
- cleanup a little while at it
Diffstat (limited to 'package/libdrm')
-rw-r--r--package/libdrm/libdrm.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index 397c9acbf..fa4b79378 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -16,10 +16,10 @@ libdrm-source: $(DL_DIR)/$(LIBDRM_SOURCE)
$(LIBDRM_DIR)/.unpacked: $(DL_DIR)/$(LIBDRM_SOURCE)
$(LIBDRM_CAT) $(DL_DIR)/$(LIBDRM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(LIBDRM_DIR)/.unpacked
+ touch $@
$(LIBDRM_DIR)/.configured: $(LIBDRM_DIR)/.unpacked
- (cd $(LIBDRM_DIR); \
+ (cd $(LIBDRM_DIR); rm -f config.cache; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) " \
LDFLAGS="$(TARGET_LDFLAGS)" \
@@ -36,11 +36,11 @@ $(LIBDRM_DIR)/.configured: $(LIBDRM_DIR)/.unpacked
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
- --includedir=/include \
+ --includedir=/usr/include \
--mandir=/usr/man \
--infodir=/usr/info \
)
- touch $(LIBDRM_DIR)/.configured
+ touch $@
$(LIBDRM_DIR)/.compiled: $(LIBDRM_DIR)/.configured
$(MAKE) CCexe="$(HOSTCC)" -C $(LIBDRM_DIR)