Skip to content

Commit

Permalink
Under CM, always assume kernel source is present
Browse files Browse the repository at this point in the history
Change-Id: Ic860035406ffb3d181b41249cd63bbf6cf5f32fb
  • Loading branch information
rmcc authored and chirayudesai committed Aug 25, 2016
1 parent 46666bc commit 86929b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions msm8226/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ ifneq (,$(DISPLAY_FEATURE_MAX_ROT_SESSION))
common_flags += -DTARGET_SPECIFIC_MAX_ROT_SESSION=$(DISPLAY_FEATURE_MAX_ROT_SESSION)
endif

ifeq ($(call is-vendor-board-platform,QCOM),true)
#ifeq ($(call is-vendor-board-platform,QCOM),true)
# This check is to pick the kernel headers from the right location.
# If the macro above is defined, we make the assumption that we have the kernel
# available in the build tree.
# If the macro is not present, the headers are picked from hardware/qcom/msmXXXX
# failing which, they are picked from bionic.
common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
endif
#endif
5 changes: 2 additions & 3 deletions msm8960/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ common_deps :=
kernel_includes :=

# Executed only on QCOM BSPs
ifeq ($(call is-vendor-board-platform,QCOM),true)
common_flags += -DQCOM_BSP
#ifeq ($(call is-vendor-board-platform,QCOM),true)
common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
endif
#endif
4 changes: 2 additions & 2 deletions msm8974/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ ifneq ($(call is-platform-sdk-version-at-least,18),true)
common_flags += -DANDROID_JELLYBEAN_MR1=1
endif
endif
ifeq ($(call is-vendor-board-platform,QCOM),true)
#ifeq ($(call is-vendor-board-platform,QCOM),true)
# This check is to pick the kernel headers from the right location.
# If the macro above is defined, we make the assumption that we have the kernel
# available in the build tree.
# If the macro is not present, the headers are picked from hardware/qcom/msmXXXX
# failing which, they are picked from bionic.
common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
endif
#endif

0 comments on commit 86929b3

Please sign in to comment.