From patchwork Sat Jun 6 22:20:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 481678 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 961DE140187 for ; Sun, 7 Jun 2015 08:21:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=ynfi+lky; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 743E294A1E; Sat, 6 Jun 2015 22:21:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MM-qUjQkDFyt; Sat, 6 Jun 2015 22:21:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8E11195D4D; Sat, 6 Jun 2015 22:21:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CD1791C220A for ; Sat, 6 Jun 2015 22:20:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CA00691FCE for ; Sat, 6 Jun 2015 22:20:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xlvfjH7InECd for ; Sat, 6 Jun 2015 22:20:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id 35F6D91FCD for ; Sat, 6 Jun 2015 22:20:55 +0000 (UTC) Received: by wgme6 with SMTP id e6so78233643wgm.2 for ; Sat, 06 Jun 2015 15:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=BnY/+MXTHxdeOPegzlqiFGVSwofP3rN0Ga3oeYv0wN0=; b=ynfi+lkyKnq2DQtxI5pzD8NU9ldOeih3Vv/x2oOIKglv3YVqX0xTqyPFX05iovL8/E F+89TpEx9hyQGav2nioxAxGPjyp/rx1vCYTZKpxhW1VqEt1m1ChYHjki5lgCr0IAMNoe jKBswdnJtmZsxJdERX/eXR+zVc7wbmiycWcplD2+vBDJrBB5Obxmwhhp34JFQ5b5ucEJ qb14kob8DjZR2I9A3mvjbOzsUXikxJIoCrbFeSn2gWKqTDhxrEfiHpMxwT4TYmoqeueM g1bIlZ/S+OeFM8ChHkE8fqPQ0Kr2Th6ijBccfAC70z+7jKCE7LW1r1bMtB6utf/aMKj8 C0Lg== X-Received: by 10.181.25.234 with SMTP id it10mr8564810wid.41.1433629253979; Sat, 06 Jun 2015 15:20:53 -0700 (PDT) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by mx.google.com with ESMTPSA id r6sm4276358wiy.13.2015.06.06.15.20.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 06 Jun 2015 15:20:53 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 7 Jun 2015 00:20:40 +0200 Message-Id: <63e68bf4982621f390bcf1e8735529e7039ad9a1.1433628825.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 04/11] package/igh-ethercat: use kernel-module helper X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: "Yann E. MORIN" --- package/igh-ethercat/igh-ethercat.mk | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/package/igh-ethercat/igh-ethercat.mk b/package/igh-ethercat/igh-ethercat.mk index b5221f8..32c49a3 100644 --- a/package/igh-ethercat/igh-ethercat.mk +++ b/package/igh-ethercat/igh-ethercat.mk @@ -10,7 +10,6 @@ IGH_ETHERCAT_SOURCE = ethercat-$(IGH_ETHERCAT_VERSION).tar.bz2 IGH_ETHERCAT_LICENSE = GPLv2 (IgH EtherCAT master), LGPLv2.1 (libraries) IGH_ETHERCAT_LICENSE_FILES = COPYING COPYING.LESSER -IGH_ETHERCAT_DEPENDENCIES = linux IGH_ETHERCAT_INSTALL_STAGING = YES IGH_ETHERCAT_CONF_OPTS = \ @@ -22,16 +21,5 @@ IGH_ETHERCAT_CONF_OPTS += $(if $(BR2_PACKAGE_IGH_ETHERCAT_E1000),--enable-e1000, IGH_ETHERCAT_CONF_OPTS += $(if $(BR2_PACKAGE_IGH_ETHERCAT_E1000E),--enable-e1000e,--disable-e1000e) IGH_ETHERCAT_CONF_OPTS += $(if $(BR2_PACKAGE_IGH_ETHERCAT_R8169),--enable-r8169,--disable-r8169) -define IGH_ETHERCAT_BUILD_MODULES - $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules -endef - -IGH_ETHERCAT_POST_BUILD_HOOKS += IGH_ETHERCAT_BUILD_MODULES - -define IGH_ETHERCAT_INSTALL_MODULES - $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules_install -endef - -IGH_ETHERCAT_POST_INSTALL_TARGET_HOOKS += IGH_ETHERCAT_INSTALL_MODULES - +$(eval $(kernel-module)) $(eval $(autotools-package))