summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/config.mk15
-rw-r--r--build/product.mk23
-rw-r--r--build/target/product/security/leaf.x509.pem20
3 files changed, 58 insertions, 0 deletions
diff --git a/build/config.mk b/build/config.mk
new file mode 100644
index 0000000..fc072c1
--- /dev/null
+++ b/build/config.mk
@@ -0,0 +1,15 @@
+# Copyright (C) 2025 The LeafOS 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.
+
+-include vendor/extra/BoardConfigExtra.mk
diff --git a/build/product.mk b/build/product.mk
new file mode 100644
index 0000000..3ff84cb
--- /dev/null
+++ b/build/product.mk
@@ -0,0 +1,23 @@
+# Copyright (C) 2025 The LeafOS 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, vendor/extra/product.mk)
+
+# OTA
+PRODUCT_EXTRA_RECOVERY_KEYS += \
+ vendor/leaf/build/target/product/security/leaf
+
+# Overlays
+PRODUCT_PACKAGE_OVERLAYS += \
+ vendor/leaf/overlay
diff --git a/build/target/product/security/leaf.x509.pem b/build/target/product/security/leaf.x509.pem
new file mode 100644
index 0000000..c60a85d
--- /dev/null
+++ b/build/target/product/security/leaf.x509.pem
@@ -0,0 +1,20 @@
+-----BEGIN C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