From be08cc2c9a2e02454bb0c2ab1d5cb735e53338c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Sat, 16 Oct 2010 21:50:11 +0000 Subject: [PATCH] btrfs-progs: Enable parallel build SVN-Revision: 23490 --- utils/btrfs-progs/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/utils/btrfs-progs/Makefile b/utils/btrfs-progs/Makefile index 765113358e..4e173d7567 100644 --- a/utils/btrfs-progs/Makefile +++ b/utils/btrfs-progs/Makefile @@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/ PKG_MD5SUM:=69e29ecd922e3f9dcb74a3a8f80b4f68 +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk define Package/btrfs-progs @@ -35,15 +38,12 @@ endef progs = btrfsctl mkfs.btrfs btrfs-debug-tree btrfs-show btrfs-vol btrfsck -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - CC="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - prefix=/usr \ - DESTDIR=$(PKG_INSTALL_DIR) \ - all install -endef +MAKE_FLAGS+=\ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + prefix=/usr \ + DESTDIR=$(PKG_INSTALL_DIR) define Package/btrfs-progs/install $(INSTALL_DIR) $(1)/usr/bin -- 2.30.2