diff options
author | Eric Andersen <andersen@codepoet.org> | 2007-01-10 23:56:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2007-01-10 23:56:30 +0000 |
commit | 3a3e9897d4e3ce7f7c6ebdf12a1f2aee3ef19dd3 (patch) | |
tree | 2b6177cff6503947848856021e522fac39aa777b /package/xorg/xorg.mk | |
parent | 4c283aa793ceb1e470f6423a5d5ef7d7c4c8a1dc (diff) | |
download | buildroot-novena-3a3e9897d4e3ce7f7c6ebdf12a1f2aee3ef19dd3.tar.gz buildroot-novena-3a3e9897d4e3ce7f7c6ebdf12a1f2aee3ef19dd3.zip |
update xorg build and installation paths
Diffstat (limited to 'package/xorg/xorg.mk')
-rw-r--r-- | package/xorg/xorg.mk | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/package/xorg/xorg.mk b/package/xorg/xorg.mk index 40b2c1c59..37884c5c0 100644 --- a/package/xorg/xorg.mk +++ b/package/xorg/xorg.mk @@ -41,13 +41,6 @@ XSERVER:=Xorg XORG_XSERVER:=$(XORG_DIR)/programs/Xserver/$(XSERVER) TARGET_XSERVER:=$(XORG_BINX)/$(XSERVER) -# Check if we should use FreeType2. -ifeq ($(BR2_PACKAGE_FREETYPE),y) -HAS_FREETYPE2=YES -else -HAS_FREETYPE2=NO -endif - # figure out Xorg's idea of corresponding architecture name ifeq ($(BR2_alpha),y) XARCH=Alpha @@ -84,7 +77,6 @@ $(XORG_DIR)/.configured: $(DL_DIR)/$(XORG_SOURCE) $(XORG_CAT) $(DL_DIR)/$(XORG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(XORG_DIR) package/xorg/ \*.patch $(SED) 's:REPLACE_STAGING_DIR:$(STAGING_DIR):g' $(XORG_HOST_DEF) - $(SED) 's:REPLACE_HAS_FREETYPE2:$(HAS_FREETYPE2):g' $(XORG_HOST_DEF) $(SED) 's:REPLACE_GCCINC_DIR:$(shell $(TARGET_CROSS)gcc -print-file-name=include):g' $(XORG_CF) $(SED) 's:REPLACE_STAGING_DIR:$(STAGING_DIR):g' $(XORG_CF) $(SED) 's:REPLACE_ARCH:$(ARCH):g' $(XORG_CF) @@ -106,8 +98,11 @@ $(XORG_XSERVER): $(XORG_DIR)/.configured $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2: $(XORG_XSERVER) -mkdir -p $(STAGING_DIR)$(TARGET_LIBX) + rm -f $(STAGING_DIR)$(TARGET_LIBX)/pkgconfig + ln -fs ../../../lib/pkgconfig $(STAGING_DIR)$(TARGET_LIBX)/pkgconfig ( cd $(XORG_DIR); $(MAKE) \ DESTDIR=$(STAGING_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale ) + $(SED) 's,/usr/X11R6,$(STAGING_DIR)/usr/X11R6,' $(STAGING_DIR)/usr/X11R6/lib/pkgconfig/*.pc touch -c $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 $(TARGET_XSERVER): $(XORG_XSERVER) @@ -149,7 +144,7 @@ $(XORG_LIBX)/libX11.so.6.2: $(TARGET_XSERVER) touch -c $(XORG_LIBX)/libX11.so.6.2 -xorg: zlib png $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 $(XORG_LIBX)/libX11.so.6.2 +xorg: zlib png pkgconfig freetype $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2 $(XORG_LIBX)/libX11.so.6.2 xorg-source: $(DL_DIR)/$(XORG_SOURCE) |