aboutsummaryrefslogtreecommitdiff
path: root/package/simicsfs/simicsfs.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-07-12 02:21:40 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-12 11:56:19 +0200
commite5f4122c56debc43bba1d0e8085a2cd25541e546 (patch)
tree67ef5e7473138a7b5974f11dca9f3b071acbae15 /package/simicsfs/simicsfs.mk
parent7b5c2e658f3c35a6378a02736d1057ed1bef464b (diff)
downloadbuildroot-e5f4122c56debc43bba1d0e8085a2cd25541e546.tar.gz
buildroot-e5f4122c56debc43bba1d0e8085a2cd25541e546.tar.bz2
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" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/simicsfs/simicsfs.mk')
-rw-r--r--package/simicsfs/simicsfs.mk10
1 files changed, 1 insertions, 9 deletions
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))