Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build warnings on DTS #833 #167

Merged
merged 11 commits into from
Nov 15, 2024
Merged
1 change: 1 addition & 0 deletions meta-dts-distro/conf/distro/dts-distro.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ VIRTUAL-RUNTIME_syslog = ""
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit pulseaudio"
VIRTUAL-RUNTIME_vim = "vim"

ROOT_HOME = '/root'
ROOT_PASSWORD = "jlz9IbDJscvTcTjpDkk1xVoPZnxIm1K5"

WKS_FILES = "usb-stick-dts.wks.in"
Expand Down
5 changes: 1 addition & 4 deletions meta-dts-distro/recipes-bsp/coreboot-utils/intelp2m_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ inherit go

do_compile() {
export GOARCH="${TARGET_GOARCH}"
export GOPATH="${WORKDIR}/git/"

cd ${S}

oe_runmake
go build -trimpath -v -o intelp2m
}

do_install() {
Expand Down
2 changes: 2 additions & 0 deletions meta-dts-distro/recipes-bsp/coreboot-utils/nvramtool_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ EXTRA_OEMAKE = ' \
PREFIX="${prefix}" \
'

INHIBIT_PACKAGE_DEBUG_SPLIT = "1"

do_compile () {
oe_runmake -C util/nvramtool
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ inherit pkgconfig

S = "${WORKDIR}/git/util/smmstoretool"

INHIBIT_PACKAGE_DEBUG_SPLIT = "1"

EXTRA_OEMAKE = ' \
DESTDIR="${D}" \
PREFIX="${prefix}" \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
INSANE_SKIP:${PN} += "buildpaths"
4 changes: 4 additions & 0 deletions meta-dts-distro/recipes-core/base-files/base-files_%.bbappend
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
hostname = "DasharoToolsSuite"

do_install:append() {
echo 'efivarfs /sys/firmware/efi/efivars efivarfs ro,nosuid,nodev,noexec,nofail 0 0' >> ${D}${sysconfdir}/fstab
}
1 change: 1 addition & 0 deletions meta-dts-distro/recipes-gnome/gcab/gcab_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
insane_skip += "buildpaths"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CONFIG_EFI_VARS=y
m-iwanicki marked this conversation as resolved.
Show resolved Hide resolved
CONFIG_EFIVAR_FS=y
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ CONFIG_INTEL_SOC_DTS_IOSF_CORE=y
CONFIG_INTEL_SOC_DTS_THERMAL=y
CONFIG_INTEL_PCH_THERMAL=y
CONFIG_INTEL_TCC_COOLING=y
CONFIG_INTEL_MENLOW=y
CONFIG_INTEL_SOC_PMIC=y
CONFIG_INTEL_SOC_PMIC_CHTWC=y
CONFIG_INTEL_SOC_PMIC_CHTDC_TI=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " \
file://acpi-bgrt.cfg \
file://dts.cfg \
file://enable-memconsole-coreboot.cfg \
file://efivars.cfg \
m-iwanicki marked this conversation as resolved.
Show resolved Hide resolved
file://enable-memconsole-coreboot.cfg \
file://intel-mei.cfg \
file://intel-other.cfg \
file://intel-sound.cfg \
Expand Down