-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (25 loc) · 1.36 KB
/
Makefile
File metadata and controls
31 lines (25 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# SPDX-FileCopyrightText: 2024 3mdeb <contact@3mdeb.com>
#
# SPDX-License-Identifier: Apache-2.0
SBINDIR ?= /usr/sbin
SYSCONFDIR ?= /etc
DTS_CONFIGS_REF ?= refs/heads/main
install:
install -d $(DESTDIR)$(SBINDIR)
install -m 0755 include/dts-environment.sh $(DESTDIR)$(SBINDIR)
sed -i "s|refs/heads/main|$(DTS_CONFIGS_REF)|g" $(DESTDIR)$(SBINDIR)/dts-environment.sh
install -m 0755 include/dts-functions.sh $(DESTDIR)$(SBINDIR)
install -m 0755 include/dts-subscription.sh $(DESTDIR)$(SBINDIR)
install -m 0755 include/hal/dts-hal.sh $(DESTDIR)$(SBINDIR)
install -m 0755 include/hal/common-mock-func.sh $(DESTDIR)$(SBINDIR)
install -m 0755 scripts/cloud_list.sh $(DESTDIR)$(SBINDIR)/cloud_list
install -m 0755 scripts/dasharo-deploy.sh $(DESTDIR)$(SBINDIR)/dasharo-deploy
install -m 0755 scripts/dts.sh $(DESTDIR)$(SBINDIR)/dts
install -m 0755 scripts/dts-boot.sh $(DESTDIR)$(SBINDIR)/dts-boot
install -m 0755 scripts/ec_transition.sh $(DESTDIR)$(SBINDIR)/ec_transition
install -m 0755 scripts/logging.sh $(DESTDIR)$(SBINDIR)/logging
install -m 0755 scripts/btg_key_validator $(DESTDIR)$(SBINDIR)
install -m 0755 reports/dasharo-hcl-report.sh $(DESTDIR)$(SBINDIR)/dasharo-hcl-report
install -m 0755 reports/touchpad-info.sh $(DESTDIR)$(SBINDIR)/touchpad-info
install -d $(DESTDIR)$(SYSCONFDIR)/profile.d
install -m 0755 dts-profile.sh $(DESTDIR)$(SYSCONFDIR)/profile.d