Skip to content

Commit

Permalink
build: fix target header overlay
Browse files Browse the repository at this point in the history
LOCAL_C_INCLUDES as defined by the makefile should be put AFTER
the overlay includes so the overlay always takes precedence.

Change-Id: Ib895440be362871caee296bafad76a51d5d0c799
  • Loading branch information
FaultException committed Aug 4, 2012
1 parent 5e8baf9 commit 6d0f17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/binary.mk
Expand Up @@ -488,7 +488,7 @@ all_objects := \

## Allow a device's own headers to take precedence over global ones
ifneq ($(TARGET_SPECIFIC_HEADER_PATH),)
LOCAL_C_INCLUDES += $(TOPDIR)$(TARGET_SPECIFIC_HEADER_PATH)
LOCAL_C_INCLUDES := $(TOPDIR)$(TARGET_SPECIFIC_HEADER_PATH) $(LOCAL_C_INCLUDES)
endif

LOCAL_C_INCLUDES += $(TOPDIR)$(LOCAL_PATH) $(intermediates) $(base_intermediates)
Expand Down

0 comments on commit 6d0f17f

Please sign in to comment.