summaryrefslogtreecommitdiffstats
path: root/package/xorg
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-07-10 22:04:29 +0000
committerEric Andersen <andersen@codepoet.org>2006-07-10 22:04:29 +0000
commit2a89e2300c3bb6164afca65faa205d6ba8b4f3cb (patch)
treeec127fd94e34a1f2e208cbdfbf2722eb78f51eff /package/xorg
parente33a0c1400d1d5bda65b6053e3fecbd3d79b3192 (diff)
downloadbuildroot-novena-2a89e2300c3bb6164afca65faa205d6ba8b4f3cb.tar.gz
buildroot-novena-2a89e2300c3bb6164afca65faa205d6ba8b4f3cb.zip
fixup some dependancies
Diffstat (limited to 'package/xorg')
-rw-r--r--package/xorg/Config.in2
-rw-r--r--package/xorg/xorg.mk8
2 files changed, 9 insertions, 1 deletions
diff --git a/package/xorg/Config.in b/package/xorg/Config.in
index 0885549ad..87ec6be51 100644
--- a/package/xorg/Config.in
+++ b/package/xorg/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_XORG
bool "X.org X Window System"
default n
depends !BR2_PACKAGE_TINYX
+ depends BR2_PACKAGE_ZLIB
+ depends BR2_PACKAGE_LIBPNG
help
The official X Window system and server.
diff --git a/package/xorg/xorg.mk b/package/xorg/xorg.mk
index 46220eb58..b99fe1c6d 100644
--- a/package/xorg/xorg.mk
+++ b/package/xorg/xorg.mk
@@ -102,7 +102,13 @@ $(XORG_LIBX)/libX11.so.6.2: $(XORG_XSERVER)
echo "$(TARGET_LIBX)" >> $(TARGET_DIR)/etc/ld.so.conf
-xorg: zlib $(XORG_LIBX)/libX11.so.6.2 $(TARGET_XSERVER)
+$(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2: $(XORG_LIBX)/libX11.so.6.2
+ -mkdir -p $(STAGING_DIR)$(TARGET_LIBX)
+ ( cd $(XORG_DIR); $(MAKE) \
+ DESTDIR=$(STAGING_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale )
+ touch -c $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2
+
+xorg: zlib png $(XORG_LIBX)/libX11.so.6.2 $(TARGET_XSERVER) $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2
xorg-source: $(DL_DIR)/$(XORG_SOURCE)