xserver_xorg-server: Use $(MAKE1) for make install
authorPaulius Zaleckas <paulius.zaleckas@gmail.com>
Fri, 28 May 2010 14:58:43 +0000 (17:58 +0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 May 2010 20:47:52 +0000 (22:47 +0200)
Xserver installation fails with parallel make jobs.

Installation to staging is not needed. So just remove it
instead of converting to $(MAKE1).

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk

index 6c6017bac6f3a629fbd18b88cfedd14527c82150..a49c180771241b59c6dcf745bace045a8d1d5cd8 100644 (file)
@@ -9,7 +9,6 @@ XSERVER_XORG_SERVER_SOURCE = xorg-server-$(XSERVER_XORG_SERVER_VERSION).tar.bz2
 XSERVER_XORG_SERVER_SITE = http://xorg.freedesktop.org/releases/individual/xserver
 XSERVER_XORG_SERVER_AUTORECONF = NO
 XSERVER_XORG_SERVER_LIBTOOL_PATCH = NO
-XSERVER_XORG_SERVER_INSTALL_STAGING = YES
 XSERVER_XORG_SERVER_USE_CONFIG_CACHE = NO # overrides CFLAGS
 XSERVER_XORG_SERVER_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install install-data
 
@@ -137,5 +136,8 @@ ifneq ($(BR2_PACKAGE_XLIB_LIBDMX),y)
 XSERVER_XORG_SERVER_CONF_OPT += --disable-dmx
 endif
 
+define XSERVER_XORG_SERVER_INSTALL_TARGET_CMDS
+       $(MAKE1) $(XSERVER_XORG_SERVER_INSTALL_TARGET_OPT) -C $(@D)
+endef
 
 $(eval $(call AUTOTARGETS,package/x11r7,xserver_xorg-server))