Browse Source

- pkg-kernel-module: add subdirs

master
vanhofen 3 years ago
parent
commit
b9a8b56521
  1. 4
      package/pkg-kernel-module.mk

4
package/pkg-kernel-module.mk

@ -18,7 +18,7 @@ KERNEL_MAKE_VARS += \
KSRC=$(BUILD_DIR)/$(KERNEL_DIR) KSRC=$(BUILD_DIR)/$(KERNEL_DIR)
define KERNEL_MODULE_BUILD_CMDS_DEFAULT define KERNEL_MODULE_BUILD_CMDS_DEFAULT
$(CHDIR)/$($(PKG)_DIR); \ $(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
$(TARGET_MAKE_ENV) $($(PKG)_MAKE_ENV) \ $(TARGET_MAKE_ENV) $($(PKG)_MAKE_ENV) \
$($(PKG)_MAKE) $($(PKG)_MAKE_ARGS) \ $($(PKG)_MAKE) $($(PKG)_MAKE_ARGS) \
$($(PKG)_MAKE_OPTS) $(KERNEL_MAKE_VARS) $($(PKG)_MAKE_OPTS) $(KERNEL_MAKE_VARS)
@ -32,7 +32,7 @@ define KERNEL_MODULE_BUILD
endef endef
define KERNEL_MODULE_INSTALL_CMDS_DEFAULT define KERNEL_MODULE_INSTALL_CMDS_DEFAULT
$(CHDIR)/$($(PKG)_DIR); \ $(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
$(TARGET_MAKE_ENV) $($(PKG)_MAKE_INSTALL_ENV) \ $(TARGET_MAKE_ENV) $($(PKG)_MAKE_INSTALL_ENV) \
$($(PKG)_MAKE_INSTALL) $($(PKG)_MAKE_INSTALL_ARGS) \ $($(PKG)_MAKE_INSTALL) $($(PKG)_MAKE_INSTALL_ARGS) \
$($(PKG)_MAKE_INSTALL_OPTS) $(KERNEL_MAKE_VARS) $($(PKG)_MAKE_INSTALL_OPTS) $(KERNEL_MAKE_VARS)

Loading…
Cancel
Save