Skip to contentSkip to conversation

tinyx.mk question

Buildroot New Javier Ruere 2 participants 2 messages Oct 23, 2006 – Oct 31, 2006

lore
Share & tools
lore
#0 lore raw

Hi everyone,
While trying to compile TinyX with Xinput (still working on it) I've seen in
tinyx.mk the following:
----------------------------------------------------------------------------------------
#
# Install x-includes and x-libraries in $(STAGING_DIR)/usr/X11R6/

# and add a symbolic link between /usr/bin/X11 and /usr/X11R6/bin
$(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2: $(TINYX_XFBDEV)
	mkdir -p $(STAGING_DIR)/usr/X11R6/lib
	mkdir -p $(STAGING_DIR)/usr/X11R6/include
	cp -fRL $(TINYX_DIR)/exports/include/* $(STAGING_DIR)/usr/X11R6/include/
	cp -fRL $(TINYX_DIR)/exports/lib/* $(STAGING_DIR)/usr/X11R6/lib/
	ln -s /usr/X11R6/bin $(TARGET_DIR)/usr/bin/X11
----------------------------------------------------------------------------------------

What is the purpose of the last line? It doesn't seem right but I couldn't
find any related issues.

Javier

#1 lore raw

PATCH 1/1 sfdisk: seek error

This patch to fix the error which appears with sfdisk when compiled with gcc 3.4.6.

seek error: wanted 0x0000000000000000, got 0x0000000000000000

Solution from this article:
http://linuxfromscratch.org/pipermail/lfs-dev/2004-August/048483.html

Rob

sfdisk/sfdisk.mk (working copy) renamed from sfdisk/sfdisk.mk (revision 16401) +0 -1
Index: package/sfdisk/sfdisk.mk
===================================================================
@@ -15,7 +15,7 @@
 
  $(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)
         $(MAKE) \
-               CROSS=$(TARGET_CROSS) DEBUG=false  OPTIMIZATION="$ 

(TARGET_CFLAGS)" \
+ CROSS=$(TARGET_CROSS) DEBUG=false OPTIMIZATION="$

(TARGET_CFLAGS) -fno-unit-at-a-time" \
                 -C $(SFDISK_DIR)
         -$(STRIP) $(SFDISK_DIR)/sfdisk;
         touch -c $(SFDISK_DIR)/sfdisk