diff --git a/tulip-chiphd/AndroidKernel.mk b/tulip-chiphd/AndroidKernel.mk index 933f940..b411691 100644 --- a/tulip-chiphd/AndroidKernel.mk +++ b/tulip-chiphd/AndroidKernel.mk @@ -66,11 +66,21 @@ $(KERNEL_OUT_MODINSTALL): $(KERNEL_BZIMAGE) @rm -rf $(KERNEL_OUT_MODINSTALL) @mkdir -p $(KERNEL_OUT_MODINSTALL) @$(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) modules_install + @$(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/aw_schw $(KERNEL_BLD_FLAGS) modules modules_install + @$(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/nand/sun50iw1p1 $(KERNEL_BLD_FLAGS) modules modules_install + @$(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali $(KERNEL_BLD_FLAGS) modules modules_install mrproper_kernel: $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) mrproper + $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/aw_schw $(KERNEL_BLD_FLAGS) mrproper + $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/nand/sun50iw1p1 $(KERNEL_BLD_FLAGS) mrproper + $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali $(KERNEL_BLD_FLAGS) mrproper + $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) mrproper clean_kernel: + $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/aw_schw $(KERNEL_BLD_FLAGS) clean + $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/nand/sun50iw1p1 $(KERNEL_BLD_FLAGS) clean + $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) M=$(KERNEL_SRC_DIR)/modules/gpu/mali400/kernel_mode/driver/src/devicedrv/mali $(KERNEL_BLD_FLAGS) clean $(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) clean $(hide) rm -rf $(KERNEL_OUT_MODINSTALL) diff --git a/tulip-chiphd/device.mk b/tulip-chiphd/device.mk index cce64ea..cde69e3 100644 --- a/tulip-chiphd/device.mk +++ b/tulip-chiphd/device.mk @@ -3,7 +3,7 @@ $(call inherit-product, device/softwinner/tulip-common/tulip-common.mk) $(call inherit-product, frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk) $(call inherit-product, hardware/realtek/bluetooth/firmware/rtlbtfw_cfg.mk) -KERNEL_SRC_DIR ?= linux/kernel-tulip +KERNEL_SRC_DIR ?= $(ANDROID_BUILD_TOP)/linux/kernel-tulip KERNEL_CFG_NAME ?= sun50iw1p1smp_android TARGET_KERNEL_ARCH ?= arm64