From: Yann E. MORIN Date: Sun, 12 Jul 2015 00:21:40 +0000 (+0200) Subject: package/simicsfs: use kernel-module helper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5f4122c56debc43bba1d0e8085a2cd25541e546;p=buildroot.git package/simicsfs: use kernel-module helper We were already using the Linux buildsystem to build simicsfs' modules, so switch to using the kernel-module infra instead. Signed-off-by: "Yann E. MORIN" Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/simicsfs/simicsfs.mk b/package/simicsfs/simicsfs.mk index 51987c5b3f..91ed413839 100644 --- a/package/simicsfs/simicsfs.mk +++ b/package/simicsfs/simicsfs.mk @@ -8,14 +8,6 @@ SIMICSFS_VERSION = 1.18 SIMICSFS_SITE = http://download.simics.net/pub SIMICSFS_LICENSE = GPLv2+ SIMICSFS_LICENSE_FILES = hostfs.h -SIMICSFS_DEPENDENCIES = linux - -define SIMICSFS_BUILD_CMDS - $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D) modules -endef - -define SIMICSFS_INSTALL_TARGET_CMDS - $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) M=$(@D) INSTALL_MOD_PATH=$(TARGET_DIR) modules_install -endef +$(eval $(kernel-module)) $(eval $(generic-package))