From: Yann E. MORIN Date: Sun, 12 Jul 2015 00:21:38 +0000 (+0200) Subject: package/on2-8170-modules: use kernel-module helper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=731c71d23f4dc747a3542c7ccbd163f9e073b9d3;p=buildroot.git package/on2-8170-modules: use kernel-module helper We were already using the Linux buildsystem to build on2-8170-modules, so just switch to the new kernel-module infra. Signed-off-by: "Yann E. MORIN" Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/on2-8170-modules/on2-8170-modules.mk b/package/on2-8170-modules/on2-8170-modules.mk index 209bcb5892..b40ed86cf9 100644 --- a/package/on2-8170-modules/on2-8170-modules.mk +++ b/package/on2-8170-modules/on2-8170-modules.mk @@ -7,17 +7,8 @@ ON2_8170_MODULES_VERSION = 73b08061d30789178e692bc332b73d1d9922bf39 ON2_8170_MODULES_SITE = $(call github,alexandrebelloni,on2-8170-modules,$(ON2_8170_MODULES_VERSION)) -ON2_8170_MODULES_DEPENDENCIES = linux - ON2_8170_MODULES_LICENSE = GPLv2+ #There is no license file -define ON2_8170_MODULES_BUILD_CMDS - $(MAKE) -C $(LINUX_DIR) $(LINUX_MAKE_FLAGS) M=$(@D) -endef - -define ON2_8170_MODULES_INSTALL_TARGET_CMDS - $(MAKE) -C $(LINUX_DIR) $(LINUX_MAKE_FLAGS) M=$(@D) modules_install -endef - +$(eval $(kernel-module)) $(eval $(generic-package))