Skip to content
This repository has been archived by the owner on Nov 7, 2021. It is now read-only.

Commit

Permalink
msm/camera_v2: Remove CAF's inclusion of GCC_VERSION variables
Browse files Browse the repository at this point in the history
Should have already been handled by the kernel build system itself, so
remove them to avoid unecessary warnings spam if we're using standalone
Binutils in place of full GCC suite.

Signed-off-by: Albert I <[email protected]>
  • Loading branch information
krasCGQ authored and johnmart19 committed Feb 11, 2021
1 parent 5b84e34 commit 424eb19
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/media/platform/msm/camera_v2/fd/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
GCC_VERSION := $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CROSS_COMPILE)gcc)
ccflags-y += -Idrivers/media/video/msm
ccflags-y += -Idrivers/media/platform/msm/camera_v2/common
ccflags-y += -Idrivers/media/platform/msm/camera_v2
Expand Down
2 changes: 0 additions & 2 deletions drivers/media/platform/msm/camera_v2/jpeg_10/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
GCC_VERSION := $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CROSS_COMPILE)gcc)

ccflags-y += -Idrivers/media/platform/msm/camera_v2/jpeg_10
ccflags-y += -Idrivers/media/platform/msm/camera_v2/sensor/io
ccflags-y += -Idrivers/media/platform/msm/camera_v2/common
Expand Down
1 change: 0 additions & 1 deletion drivers/media/platform/msm/camera_v2/jpeg_dma/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
GCC_VERSION := $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CROSS_COMPILE)gcc)
ccflags-y += -Idrivers/media/video/msm
ccflags-y += -Idrivers/media/platform/msm/camera_v2/common
obj-$(CONFIG_MSM_JPEGDMA) += msm_jpeg_dma_dev.o msm_jpeg_dma_hw.o

0 comments on commit 424eb19

Please sign in to comment.