diff options
author | Rob Herring <[email protected]> | 2017-05-03 14:35:16 -0500 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-11 13:52:21 +0100 |
commit | 108250197996d76fbfe4ab437a696862d9a1971d (patch) | |
tree | 78c1b806439251dcd7b2a45021ee8e2a150b1e7d /src/amd | |
parent | 4eec1cfa8ef250609699c8fc658e8fe58d6fab61 (diff) |
Android: amd: use exported include dirs instead of explicit includes
Add exported include paths rather than explicitly adding the includes
in each user of the common AMD libs.
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Chih-Wei Huang <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/Android.addrlib.mk | 6 | ||||
-rw-r--r-- | src/amd/Android.common.mk | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/amd/Android.addrlib.mk b/src/amd/Android.addrlib.mk index 540de5554bd..a29f7c16d17 100644 --- a/src/amd/Android.addrlib.mk +++ b/src/amd/Android.addrlib.mk @@ -42,5 +42,11 @@ LOCAL_C_INCLUDES := \ $(MESA_TOP)/src/amd/addrlib/gfx9/chip \ $(MESA_TOP)/src/amd/addrlib/r800/chip +LOCAL_EXPORT_C_INCLUDE_DIRS := \ + $(LOCAL_PATH) \ + $(LOCAL_PATH)/addrlib/core \ + $(LOCAL_PATH)/addrlib/inc/chip/r800 \ + $(LOCAL_PATH)/addrlib/r800/chip + include $(MESA_COMMON_MK) include $(BUILD_STATIC_LIBRARY) diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk index aa0b1742b6b..a770aca6500 100644 --- a/src/amd/Android.common.mk +++ b/src/amd/Android.common.mk @@ -58,6 +58,9 @@ LOCAL_C_INCLUDES := \ external/llvm/device/include \ $(ELF_INCLUDES) +LOCAL_EXPORT_C_INCLUDE_DIRS := \ + $(LOCAL_PATH)/common + LOCAL_STATIC_LIBRARIES := libLLVMCore include $(MESA_COMMON_MK) |