Build external kernel modules: aw_schw, nand and mali
This commit is contained in:
parent
71b4da7b59
commit
ee5fecc80e
2 changed files with 11 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue