dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libdrm] android: Add missing include exports
@ 2018-03-18  1:26 Stefan Schake
  2018-03-19  8:12 ` John Stultz
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Schake @ 2018-03-18  1:26 UTC (permalink / raw)
  To: dri-devel; +Cc: Stefan Schake

They were set for the static library but not the shared variant.

Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Stefan Schake <stschake@gmail.com>
---
 Android.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Android.mk b/Android.mk
index 8611c5e..1b77c53 100644
--- a/Android.mk
+++ b/Android.mk
@@ -53,7 +53,9 @@ LOCAL_MODULE := libdrm
 
 LOCAL_SRC_FILES := $(LIBDRM_FILES)
 LOCAL_EXPORT_C_INCLUDE_DIRS := \
-        $(LOCAL_PATH)/include/drm
+	$(LOCAL_PATH) \
+	$(LOCAL_PATH)/include/drm \
+	$(LOCAL_PATH)/android
 
 LOCAL_SHARED_LIBRARIES := \
 	libcutils
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH libdrm] android: Add missing include exports
  2018-03-18  1:26 [PATCH libdrm] android: Add missing include exports Stefan Schake
@ 2018-03-19  8:12 ` John Stultz
  2018-03-22 16:53   ` Emil Velikov
  0 siblings, 1 reply; 3+ messages in thread
From: John Stultz @ 2018-03-19  8:12 UTC (permalink / raw)
  To: Stefan Schake; +Cc: dri-devel

On Sun, Mar 18, 2018 at 9:26 AM, Stefan Schake <stschake@gmail.com> wrote:
> They were set for the static library but not the shared variant.
>
> Cc: John Stultz <john.stultz@linaro.org>
> Signed-off-by: Stefan Schake <stschake@gmail.com>
> ---
>  Android.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Android.mk b/Android.mk
> index 8611c5e..1b77c53 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -53,7 +53,9 @@ LOCAL_MODULE := libdrm
>
>  LOCAL_SRC_FILES := $(LIBDRM_FILES)
>  LOCAL_EXPORT_C_INCLUDE_DIRS := \
> -        $(LOCAL_PATH)/include/drm
> +       $(LOCAL_PATH) \
> +       $(LOCAL_PATH)/include/drm \
> +       $(LOCAL_PATH)/android
>
>  LOCAL_SHARED_LIBRARIES := \
>         libcutils
> --

I've validated with this along with your suggested change to my
drm_hwcomposer patch, and it is building just fine. So I'm reworking
my patch stack to include this.

Acked-by: John Stultz <john.stultz@linaro.org>

thanks
-john
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH libdrm] android: Add missing include exports
  2018-03-19  8:12 ` John Stultz
@ 2018-03-22 16:53   ` Emil Velikov
  0 siblings, 0 replies; 3+ messages in thread
From: Emil Velikov @ 2018-03-22 16:53 UTC (permalink / raw)
  To: John Stultz; +Cc: dri-devel, Stefan Schake

On 19 March 2018 at 08:12, John Stultz <john.stultz@linaro.org> wrote:
> On Sun, Mar 18, 2018 at 9:26 AM, Stefan Schake <stschake@gmail.com> wrote:
>> They were set for the static library but not the shared variant.
>>
>> Cc: John Stultz <john.stultz@linaro.org>
>> Signed-off-by: Stefan Schake <stschake@gmail.com>
>> ---
>>  Android.mk | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/Android.mk b/Android.mk
>> index 8611c5e..1b77c53 100644
>> --- a/Android.mk
>> +++ b/Android.mk
>> @@ -53,7 +53,9 @@ LOCAL_MODULE := libdrm
>>
>>  LOCAL_SRC_FILES := $(LIBDRM_FILES)
>>  LOCAL_EXPORT_C_INCLUDE_DIRS := \
>> -        $(LOCAL_PATH)/include/drm
>> +       $(LOCAL_PATH) \
>> +       $(LOCAL_PATH)/include/drm \
>> +       $(LOCAL_PATH)/android
>>
>>  LOCAL_SHARED_LIBRARIES := \
>>         libcutils
>> --
>
> I've validated with this along with your suggested change to my
> drm_hwcomposer patch, and it is building just fine. So I'm reworking
> my patch stack to include this.
>
> Acked-by: John Stultz <john.stultz@linaro.org>
>
Looks spot on - pushed to master. Thanks gents!

-Emil
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-22 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-18  1:26 [PATCH libdrm] android: Add missing include exports Stefan Schake
2018-03-19  8:12 ` John Stultz
2018-03-22 16:53   ` Emil Velikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox