OSDN Git Service

Add rules to build external kernel modules
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 5 Dec 2018 08:31:46 +0000 (16:31 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 6 Dec 2018 05:07:46 +0000 (13:07 +0800)
Android.mk [new file with mode: 0644]

diff --git a/Android.mk b/Android.mk
new file mode 100644 (file)
index 0000000..752fa68
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# Copyright (C) 2018 The Android-x86 Open Source Project
+#
+# Licensed under the GNU General Public License Version 2 or later.
+# You may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.gnu.org/licenses/gpl.html
+#
+
+LOCAL_PATH := $(my-dir)
+
+TARGET_EXTRA_KERNEL_MODULES += $(patsubst $(LOCAL_PATH)/%/Android.mk,%,$(wildcard $(LOCAL_PATH)/*/Android.mk))
+
+include $(call all-subdir-makefiles)