From a8520b50047fcf0116a41a787b7fefad3f0c275c Mon Sep 17 00:00:00 2001 From: Diogo Ferreira Date: Tue, 22 Dec 2015 10:30:56 +0000 Subject: arm64: Dummy out the kernel output folder All our devices take kernel headers over whatever bionic provides. In order to do so, they need to be added to the include path and a dependency on header generation must be added to ensure that they are there. This does not apply to the emulator because it uses a prebuilt kernel. This patch adds a dummy dependency to appease the dependency management gods. Change-Id: I19c99829f991f8d6e4a14497fdca1fb6fba64d25 --- Android.mk | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Android.mk diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..3fe47f0 --- /dev/null +++ b/Android.mk @@ -0,0 +1,29 @@ +# +# Copyright (C) 2015 The CyanogenMod Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +LOCAL_PATH := $(call my-dir) + +ifneq ($(filter arm64,$(TARGET_DEVICE)),) + +include $(call all-subdir-makefiles,$(LOCAL_PATH)) + +# Many modules depend on kernel headers to build via +# LOCAL_ADDITIONAL_DEPENDENCIES. Satisfy those here +# because we aren't building a kernel. +$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr: + mkdir -p $@ + +endif -- cgit v1.2.3