different flags for modinstall

This commit is contained in:
Charlotte D 2019-04-02 17:55:17 +01:00
parent 3396b688b7
commit d23bd5a44b

View file

@ -45,6 +45,8 @@ KERNEL_BLD_FLAGS := \
KERNEL_BLD_FLAGS :=$(KERNEL_BLD_FLAGS) \
O=../../$(KERNEL_OUT_DIR) \
MODINSTALL_FLAGS := $(KERNEL_BLD_FLAGS) O=../../$(KERNEL_OUT_DIR)
KERNEL_BLD_ENV := CROSS_COMPILE=$(KERNEL_CROSS_COMP) \
CCACHE_SLOPPINESS=$(KERNEL_CCSLOP)
KERNEL_FAKE_DEPMOD := $(KERNEL_OUT_DIR)/fakedepmod/lib/modules
@ -79,10 +81,10 @@ $(KERNEL_OUT_MODINSTALL): $(KERNEL_BZIMAGE)
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/aw_schw $(KERNEL_BLD_FLAGS) modules
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/nand/sun50iw1p1 $(KERNEL_BLD_FLAGS) modules
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali $(KERNEL_BLD_FLAGS) $(MALI_BUILD_FLAGS) modules
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) modules_install
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/aw_schw $(KERNEL_BLD_FLAGS) modules_install
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/nand/sun50iw1p1 $(KERNEL_BLD_FLAGS) modules_install
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali $(KERNEL_BLD_FLAGS) $(MALI_BUILD_FLAGS) modules_install
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(MODINSTALL_FLAGS) modules_install
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/aw_schw $(MODINSTALL_FLAGS) modules_install
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/nand/sun50iw1p1 $(MODINSTALL_FLAGS) modules_install
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali $(MODINSTALL_FLAGS) $(MALI_BUILD_FLAGS) modules_install
mrproper_kernel:
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/aw_schw $(KERNEL_BLD_FLAGS) clean