please work

This commit is contained in:
Charlotte D 2019-04-02 18:36:13 +01:00
parent d23bd5a44b
commit c8b286dfb9

View file

@ -27,7 +27,7 @@ KERNEL_CCSLOP := $(subst $(space),$(comma),$(KERNEL_CCSLOP))
KERNEL_OUT_DIR := ./$(PRODUCT_OUT)/linux/kernel
KERNEL_MODINSTALL := modules_install
KERNEL_OUT_MODINSTALL := $(TOP)/$(PRODUCT_OUT)/$(KERNEL_MODINSTALL)
KERNEL_OUT_MODINSTALL := $(TOP)/$(PRODUCT_OUT)/linux/kernel/$(KERNEL_MODINSTALL)
KERNEL_MODULES_ROOT := $(PRODUCT_OUT)/root
KERNEL_MODULES_VENDOR := $(PRODUCT_OUT)/system/vendor/modules
KERNEL_CONFIG := $(KERNEL_OUT_DIR)/.config
@ -45,8 +45,6 @@ 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
@ -81,10 +79,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) $(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
$(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
mrproper_kernel:
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=./modules/aw_schw $(KERNEL_BLD_FLAGS) clean