diff options
author | Diogo Ferreira <defer@cyngn.com> | 2015-12-22 10:30:56 +0000 |
---|---|---|
committer | Scott Mertz <scott@cyngn.com> | 2016-07-20 14:52:49 -0700 |
commit | a8520b50047fcf0116a41a787b7fefad3f0c275c (patch) | |
tree | f9396da22c0a5a2ef7c10078d2f6901309c487f2 | |
parent | 7b700113af115315bbded8a8aef11a1bb0c1d7a6 (diff) | |
download | android_device_generic_arm64-cm-13.0.tar.gz android_device_generic_arm64-cm-13.0.tar.bz2 android_device_generic_arm64-cm-13.0.zip |
arm64: Dummy out the kernel output folderHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0-0004replicant-6.0-0003replicant-6.0-0002replicant-6.0-0001stable/cm-13.0-ZNH5Ycm-13.0
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
-rw-r--r-- | Android.mk | 29 |
1 files changed, 29 insertions, 0 deletions
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 |