summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Quattlebaum <rquattle@google.com>2017-08-11 19:39:40 -0700
committerRobert Quattlebaum <rquattle@google.com>2017-09-07 16:56:52 -0700
commite426de20f9eb216ec1ebcd559fbfc8010476f3f7 (patch)
tree67d6732d97cf248bf18af2fee0329987ca65c942
parent03e6a13b4724c0a7fffcb50a9f65ec9b6f16eb1a (diff)
downloadlowpan-e426de20f9eb216ec1ebcd559fbfc8010476f3f7.tar.gz
Add makefiles for LoWPAN-compatible products
Change-Id: I286fb9de32aa3a781a0bfb3b39277417f0bcd16c
-rw-r--r--product/lowpan-service.mk25
-rw-r--r--product/lowpan.mk17
-rw-r--r--product/wpantund.mk17
3 files changed, 59 insertions, 0 deletions
diff --git a/product/lowpan-service.mk b/product/lowpan-service.mk
new file mode 100644
index 0000000..7234d2e
--- /dev/null
+++ b/product/lowpan-service.mk
@@ -0,0 +1,25 @@
+#
+## Copyright (C) 2017 The Android Open Source 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.
+
+PRODUCT_COPY_FILES += \
+ $(call add-to-product-copy-files-if-exists,frameworks/native/data/etc/android.hardware.lowpan.xml:system/etc/permissions/android.hardware.lowpan.xml)
+
+PRODUCT_SYSTEM_SERVER_JARS += \
+ lowpan-service
+
+PRODUCT_PACKAGES += \
+ lowpan-service \
+ lowpanctl
+
diff --git a/product/lowpan.mk b/product/lowpan.mk
new file mode 100644
index 0000000..b7c1f44
--- /dev/null
+++ b/product/lowpan.mk
@@ -0,0 +1,17 @@
+#
+## Copyright (C) 2017 The Android Open Source 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.
+
+$(call inherit-product-if-exists, frameworks/opt/net/lowpan/product/lowpan-service.mk)
+$(call inherit-product-if-exists, frameworks/opt/net/lowpan/product/wpantund.mk)
diff --git a/product/wpantund.mk b/product/wpantund.mk
new file mode 100644
index 0000000..e21ffa2
--- /dev/null
+++ b/product/wpantund.mk
@@ -0,0 +1,17 @@
+#
+## Copyright (C) 2017 The Android Open Source 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.
+
+PRODUCT_PACKAGES += \
+ wpantund