You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.4 KiB
31 lines
1.4 KiB
ccflags-y += -I$(srctree)/drivers/huanglong/secure_boot/inc
|
|
subdir-ccflags-$(CONFIG_KERNEL_BL31_LOG) += -I$(srctree)/include/linux/huanglong/ksms
|
|
subdir-ccflags-$(CONFIG_PLATFORM_MAINTAIN) += -Idrivers/huanglong/mntn/
|
|
ccflags-y += -Wall -Werror -fstack-protector-all
|
|
ccflags-y += $(call cc-option,-Wno-error=stringop-overflow=)
|
|
|
|
obj-$(CONFIG_PLATFORM_MAINTAIN) += mntn_comm.o
|
|
obj-$(CONFIG_PLATFORM_MAINTAIN) += platform_mntn.o
|
|
obj-$(CONFIG_PLATFORM_MAINTAIN) += boottime.o
|
|
obj-$(CONFIG_MNTN_BB) += blackbox/
|
|
obj-$(CONFIG_PLATFORM_MAINTAIN) += mntn_poweroff.o
|
|
platform_mntn-y := util.o fastbootlog.o mntn_filesys.o mntn_bootup_keypoint.o mntn_syscalls.o
|
|
obj-$(CONFIG_PLATFORM_MAINTAIN) += mntn_dump.o
|
|
obj-$(CONFIG_PLATFORM_MAINTAIN) += mntn_filesys_expand.o
|
|
obj-$(CONFIG_PLATFORM_MAINTAIN) += mntn_core.o
|
|
obj-$(CONFIG_MNTN_EXTENDLOG) += mntn_extend_logs.o
|
|
obj-$(CONFIG_MNTN_SYSLOG) += mntn_dump_logs.o
|
|
obj-$(CONFIG_KERNEL_BL31_LOG) += mntn_bl31_exception.o
|
|
obj-$(CONFIG_SOCT_SP805_WATCHDOG) += wdg/
|
|
debug-do-assign-objs = $(shell set -e; \
|
|
if [ -d $(srctree)/drivers/huanglong/mntn/debug ] ; then \
|
|
echo "debug/"; \
|
|
fi)
|
|
obj-y += $(call debug-do-assign-objs)
|
|
kdump-do-assign-objs = $(shell set -e; \
|
|
if [ -d $(srctree)/drivers/huanglong/mntn/kdump ] ; then \
|
|
echo "kdump/"; \
|
|
fi)
|
|
obj-y += $(call kdump-do-assign-objs)
|
|
|