Skip to content

Commit

Permalink
OplusKernelEnvConfig: Disable warnings
Browse files Browse the repository at this point in the history
Signed-off-by: SagarMakhar <[email protected]>
  • Loading branch information
SagarMakhar committed Nov 28, 2021
1 parent 1e0c338 commit 6f5c8a1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions OplusKernelEnvConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ OPLUS_FEATURE_MODEM_DATA_NWPOWER \
OPLUS_FEATURE_PERFORMANCE

$(foreach myfeature,$(ALLOWED_MCROS),\
$(warning make $(myfeature) to be a macro here) \
$(eval KBUILD_CFLAGS += -D$(myfeature)) \
$(eval KBUILD_CPPFLAGS += -D$(myfeature)) \
$(eval CFLAGS_KERNEL += -D$(myfeature)) \
Expand Down Expand Up @@ -201,13 +200,10 @@ inner_oplus_wakelock_dir2_exist := $(shell if [ -d $(inner_oplus_wakelock_dir2)
inner_oplus_link_name := oplus_wakelock
inner_oplus_link_target := $(inner_mk_dir)/../kernel/msm-5.4/drivers/soc/oplus/$(inner_oplus_link_name)
ifeq ($(inner_oplus_wakelock_dir1_exist), exist)
$(warning "source is $(inner_oplus_wakelock_dir1)")
$(shell ln -sf $(inner_oplus_wakelock_dir1) $(inner_oplus_link_target))
else ifeq ($(inner_oplus_wakelock_dir2_exist), exist)
$(warning "source is $(inner_oplus_wakelock_dir2)")
$(shell ln -sf $(inner_oplus_wakelock_dir2) $(inner_oplus_link_target))
else
$(warning "source is nothing")
endif
#endif /* OPLUS_FEATURE_POWERINFO_STANDBY */

Expand Down

0 comments on commit 6f5c8a1

Please sign in to comment.