From patchwork Sun Jan 22 18:34:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 9531419 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F2793601D4 for ; Sun, 22 Jan 2017 18:37:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3D8627CF9 for ; Sun, 22 Jan 2017 18:37:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D728D27F9F; Sun, 22 Jan 2017 18:37:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2930227CF9 for ; Sun, 22 Jan 2017 18:37:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 025FD6E342; Sun, 22 Jan 2017 18:37:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 47A456E004 for ; Sun, 22 Jan 2017 18:37:03 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id c85so20805726wmi.1 for ; Sun, 22 Jan 2017 10:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=jIPQPwgDsR5LKVru8c9xSQvsIMjM/MBV4u1RtfnYogc=; b=AlVhvW6RKxtzl5SwYIK3ACaOJF2OPnxNFffxej14v8Zi1AcZFbvSdl3IL7vRdUs1/P UEiB7lg4rR44+ag/TM5al+AMIeWpHatCFUk/U0fvlFUzHX/GGfp8Vld7q6s2l8BzaHCZ BMqsQdoJMerXeElu3r0eaxEzqiasRrRPPhMkWukKOk/OkSOHCrNzDicaAKHhnpMybH25 JMfStib//dM8a2SbjYbvdKjrAob7nyneycFah9t6BMeanB1igvOQ4tEQOSUFpkKbJEIf 2vK95JDm+kGO0VFLx0p2DhwAoPyGENBgh8rjpgWsGiCxlRDBrGD9GRYhCUsmS3qaZGUn oGug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jIPQPwgDsR5LKVru8c9xSQvsIMjM/MBV4u1RtfnYogc=; b=kyS7k/dPGeGR+cpIDnQMZVIHu1mRjIaOjj0PnHh+LUrXMTJTPnI2JcrmLEwowoE8Gv Jg1UBLm9U+e7W3T5DSKLRS3r5ogICAJACa8826vNQx03fWB0ms2zaqQGVyvtoiH8ODvc sbBCrb+vDO1neuL1JBHizsYQp6vO/KmA72diX+5qrLxtEDEFP94si5g+RKPGSDeRcpVE 309ADNj5+9pWQdLKmD7hGtG8nb+NKqOqNIkMe2OAH4OgZWBSDljezWUscNBRfwZFd0D5 qqdemAZvaHVFHTIai7FLUJaCHgtHu1nAkFC19ScvJIXn+ImKqNzfzVPZXUKPKpX9JMdC zWgQ== X-Gm-Message-State: AIkVDXIVeF6fjp/i1jFVdSqfS99RDOKyl+o9PaBuQP1xzVVR4Yo04kG/YqkfOvlDABgFtg== X-Received: by 10.223.150.58 with SMTP id b55mr20754609wra.192.1485110221822; Sun, 22 Jan 2017 10:37:01 -0800 (PST) Received: from localhost.localdomain (cpc91186-cmbg18-2-0-cust67.5-4.cable.virginm.net. [80.1.50.68]) by smtp.gmail.com with ESMTPSA id c202sm17099824wmd.10.2017.01.22.10.37.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jan 2017 10:37:00 -0800 (PST) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 1/5] android: remove LOCAL_MODULE_TAGS := optional tag Date: Sun, 22 Jan 2017 18:34:39 +0000 Message-Id: <20170122183443.11963-1-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.11.0 Cc: emil.l.velikov@gmail.com, Dan Willemsen X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Seems to be the default option. Fleshed out from a larger commit in the AOSP repo/fork. Cc: Dan Willemsen Cc: Chih-Wei Huang Cc: Rob Herring Signed-off-by: Emil Velikov --- Dan a couple of humble requests: - can we get a reference when (Android vX) this is the default ? - there's a bunch of nice fixes in-tree - can you (anyone in the team) cleanup the gerrit/aosp tags, rebase and sent them over - see upstream autogen.sh * build fixes leanups * use mmap64 over __mmap2 (with the fix squashed). please state since when mmap64 is available * remove libpciaccess dep (with the printf warning fixed) * tegra offset fix * others ? With the above sorted, it would be a lot easier to rebase the repo when working on the next Android. Note that the atomic code used here is not the upstream one - I'd suggest switching over ;-) Thanks ! --- Android.mk | 2 -- amdgpu/Android.mk | 1 - etnaviv/Android.mk | 1 - freedreno/Android.mk | 1 - intel/Android.mk | 1 - libkms/Android.mk | 1 - nouveau/Android.mk | 1 - radeon/Android.mk | 1 - tests/util/Android.mk | 1 - 9 files changed, 10 deletions(-) diff --git a/Android.mk b/Android.mk index 2aa2bc96..6ecc4e1c 100644 --- a/Android.mk +++ b/Android.mk @@ -30,7 +30,6 @@ include $(LOCAL_PATH)/Makefile.sources #static library for the device (recovery) include $(CLEAR_VARS) LOCAL_MODULE := libdrm -LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(patsubst %.h, , $(LIBDRM_FILES)) LOCAL_EXPORT_C_INCLUDE_DIRS := \ @@ -48,7 +47,6 @@ include $(BUILD_STATIC_LIBRARY) # Shared library for the device include $(CLEAR_VARS) LOCAL_MODULE := libdrm -LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(patsubst %.h, , $(LIBDRM_FILES)) LOCAL_EXPORT_C_INCLUDE_DIRS := \ diff --git a/amdgpu/Android.mk b/amdgpu/Android.mk index 57c53a79..332d9570 100644 --- a/amdgpu/Android.mk +++ b/amdgpu/Android.mk @@ -5,7 +5,6 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/Makefile.sources LOCAL_MODULE := libdrm_amdgpu -LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libdrm diff --git a/etnaviv/Android.mk b/etnaviv/Android.mk index a3a22959..a70eeac0 100644 --- a/etnaviv/Android.mk +++ b/etnaviv/Android.mk @@ -5,7 +5,6 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/Makefile.sources LOCAL_MODULE := libdrm_etnaviv -LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libdrm diff --git a/freedreno/Android.mk b/freedreno/Android.mk index fba48f2f..d7e80e12 100644 --- a/freedreno/Android.mk +++ b/freedreno/Android.mk @@ -5,7 +5,6 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/Makefile.sources LOCAL_MODULE := libdrm_freedreno -LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libdrm diff --git a/intel/Android.mk b/intel/Android.mk index 838a93b3..e7ec5a57 100644 --- a/intel/Android.mk +++ b/intel/Android.mk @@ -28,7 +28,6 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/Makefile.sources LOCAL_MODULE := libdrm_intel -LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(patsubst %.h, , $(LIBDRM_INTEL_FILES)) LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) diff --git a/libkms/Android.mk b/libkms/Android.mk index cf0e9bb0..0259ffbb 100644 --- a/libkms/Android.mk +++ b/libkms/Android.mk @@ -45,7 +45,6 @@ LOCAL_SRC_FILES += $(LIBKMS_RADEON_FILES) endif LOCAL_MODULE := libkms -LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libdrm LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) diff --git a/nouveau/Android.mk b/nouveau/Android.mk index b67d30fc..451f9a73 100644 --- a/nouveau/Android.mk +++ b/nouveau/Android.mk @@ -5,7 +5,6 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/Makefile.sources LOCAL_MODULE := libdrm_nouveau -LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libdrm diff --git a/radeon/Android.mk b/radeon/Android.mk index e7044435..57cbc92a 100644 --- a/radeon/Android.mk +++ b/radeon/Android.mk @@ -5,7 +5,6 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/Makefile.sources LOCAL_MODULE := libdrm_radeon -LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libdrm diff --git a/tests/util/Android.mk b/tests/util/Android.mk index 1bd82aec..c9d087e3 100644 --- a/tests/util/Android.mk +++ b/tests/util/Android.mk @@ -27,7 +27,6 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/Makefile.sources LOCAL_MODULE := libdrm_util -LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libdrm