Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95040720 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "techpack: add tech package support"

parents b4e06335 5df1dce1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -565,7 +565,7 @@ scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \

# Objects we will link into vmlinux / subdirs we need to visit
init-y		:= init/
drivers-y	:= drivers/ sound/ firmware/
drivers-y	:= drivers/ sound/ firmware/ techpack/
net-y		:= net/
libs-y		:= lib/
core-y		:= usr/
@@ -1152,6 +1152,7 @@ headers_install: __headers
	  $(error Headers not exportable for the $(SRCARCH) architecture))
	$(Q)$(MAKE) $(hdr-inst)=include/uapi
	$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst)
	$(Q)$(MAKE) $(hdr-inst)=techpack

PHONY += headers_check_all
headers_check_all: headers_install_all
@@ -1161,6 +1162,7 @@ PHONY += headers_check
headers_check: headers_install
	$(Q)$(MAKE) $(hdr-inst)=include/uapi HDRCHECK=1
	$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) HDRCHECK=1
	$(Q)$(MAKE) $(hdr-inst)=techpack HDRCHECK=1

# ---------------------------------------------------------------------------
# Kernel selftest

techpack/.gitignore

0 → 100644
+2 −0
Original line number Diff line number Diff line
# ignore all subdirs except stub
!/stub/

techpack/Kbuild

0 → 100644
+5 −0
Original line number Diff line number Diff line
techpack-dirs := $(shell find $(srctree)/$(src) -maxdepth 1 -mindepth 1 -type d -not -name ".*")
obj-y += stub/ $(addsuffix /,$(subst $(srctree)/$(src)/,,$(techpack-dirs)))

techpack-header-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*")
header-y += $(addsuffix /include/uapi/,$(subst $(srctree)/techpack/,,$(techpack-header-dirs)))

techpack/stub/Makefile

0 → 100644
+2 −0
Original line number Diff line number Diff line
ccflags-y := -Wno-unused-function
obj-y := stub.o
+1 −0
Original line number Diff line number Diff line
#Stub place holder
Loading