Skip to content

Commit

Permalink
techpack: audio: unguard TARGET_PRODUCT definations for raphael
Browse files Browse the repository at this point in the history
fuck you meme

Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
  • Loading branch information
UtsavBalar1231 authored and penglezos committed Mar 16, 2020
1 parent 28df8e1 commit 330a073
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
7 changes: 2 additions & 5 deletions techpack/audio/asoc/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,13 @@ CDEFINES += -DANI_LITTLE_BYTE_ENDIAN \
-DANI_OS_TYPE_ANDROID=6 \
-DPTT_SOCK_SVC_ENABLE \
-Wall\
-D__linux__

-D__linux__ \
-DCONFIG_SND_SOC_TFA9874_FOR_DAVI

ifeq ($(TARGET_PRODUCT), $(filter $(TARGET_PRODUCT),cepheus hercules orion))
CDEFINES += -DCONFIG_SND_SOC_CS35L41_FOR_CEPH
endif

ifneq (,$(filter $(TARGET_PRODUCT), davinci raphael raphaelin))
CDEFINES += -DCONFIG_SND_SOC_TFA9874_FOR_DAVI
endif

KBUILD_CPPFLAGS += $(CDEFINES)

Expand Down
7 changes: 2 additions & 5 deletions techpack/audio/asoc/codecs/tfa98xx/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,8 @@ CDEFINES += -DANI_LITTLE_BYTE_ENDIAN \
-DPTT_SOCK_SVC_ENABLE \
-Wall\
-Werror\
-D__linux__

ifneq (,$(filter $(TARGET_PRODUCT), davinci raphael raphaelin))
CDEFINES += -DTFA_NON_DSP_SOLUTION
endif
-D__linux__ \
-DTFA_NON_DSP_SOLUTION

KBUILD_CPPFLAGS += $(CDEFINES)

Expand Down
7 changes: 2 additions & 5 deletions techpack/audio/dsp/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,8 @@ CDEFINES += -DANI_LITTLE_BYTE_ENDIAN \
-DANI_OS_TYPE_ANDROID=6 \
-DPTT_SOCK_SVC_ENABLE \
-Wall\
-D__linux__

ifneq (,$(filter $(TARGET_PRODUCT), davinci raphael raphaelin))
CDEFINES += -DCONFIG_SND_SOC_TFA9874_FOR_DAVI
endif
-D__linux__ \
-DCONFIG_SND_SOC_TFA9874_FOR_DAVI

KBUILD_CPPFLAGS += $(CDEFINES)

Expand Down

0 comments on commit 330a073

Please sign in to comment.