[PATCH] Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

Tapani Pälli tapani.palli at intel.com
Mon Oct 8 05:45:00 PDT 2012


On 10/08/2012 02:43 PM, Oliver McFadden wrote:
> On Mon, Oct 08, 2012 at 12:23:56PM +0300, Tapani Pälli wrote:
>> From: Haitao Huang <haitao.huang at intel.com>
>>
>> Export necessary header files used by other components for Android,
>> such as libva intel-driver, gralloc, hwcomposer, etc.
>>
>> Signed-off-by: Haitao Huang <haitao.huang at intel.com>
>> [chad: Fixed inconsistent indentation.]
>> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
>> ---
> 
> Normal syntax is "Subject: [PATCH v2 N/M] ..."  You should add a comment
> here describing the v1..v2 diff.

ok, I took away the gerrit 'change-id' row, I'll send v3 with your
suggested changes.

>>  Android.mk | 12 +++++++++++-
>>  1 file changed, 11 insertions(+), 1 deletion(-)
>>
>> diff --git a/Android.mk b/Android.mk
>> index 1029dc6..68db5df 100644
>> --- a/Android.mk
>> +++ b/Android.mk
>> @@ -1,5 +1,5 @@
>>  #
>> -# Copyright © 2011 Intel Corporation
>> +# Copyright © 2011-2012 Intel Corporation
>>  #
>>  # Permission is hereby granted, free of charge, to any person obtaining a
>>  # copy of this software and associated documentation files (the "Software"),
>> @@ -45,6 +45,16 @@ LOCAL_C_INCLUDES := \
>>  LOCAL_CFLAGS := \
>>  	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
>>  
>> +LOCAL_COPY_HEADERS :=            \
>> +	xf86drm.h                \
>> +	include/drm/drm_fourcc.h \
>> +	include/drm/drm.h        \
>> +	include/drm/drm_mode.h   \
>> +	include/drm/drm_sarea.h  \
>> +	include/drm/i915_drm.h   \
>> +	intel/intel_bufmgr.h     \
>> +
>> +LOCAL_COPY_HEADERS_TO := libdrm
>>  include $(BUILD_SHARED_LIBRARY)
>>  
>>  include $(LOCAL_PATH)/intel/Android.mk
>> -- 
>> 1.7.11.7
>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
> 


-- 

// Tapani


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/8c2f2a8a/attachment.pgp>


More information about the dri-devel mailing list