Also don't add br2_local by default, default params are insane.
This commit is contained in:
Ciro Santilli
2018-03-14 12:25:51 +00:00
parent 4a62be3eb3
commit 039b8a498c
6 changed files with 63 additions and 7 deletions

View File

@@ -8,8 +8,12 @@ KERNEL_MODULE_VERSION = 1.0
KERNEL_MODULE_SITE = $(BR2_EXTERNAL_KERNEL_MODULE_PATH)
KERNEL_MODULE_SITE_METHOD = local
ifeq ($(BR2_PACKAGE_OPENBLAS),y)
KERNEL_MODULE_DEPENDENCIES += openblas
endif
define KERNEL_MODULE_BUILD_CMDS
$(MAKE) -C '$(@D)/user' CC="$(TARGET_CC)" LD="$(TARGET_LD)"
$(MAKE) -C '$(@D)/user' BR2_PACKAGE_OPENBLAS="$(BR2_PACKAGE_OPENBLAS)" CC="$(TARGET_CC)" LD="$(TARGET_LD)"
endef
define KERNEL_MODULE_INSTALL_TARGET_CMDS