build: Create overlays directory and remove empty imports array
This commit is contained in:
parent
ea260df6d3
commit
da64e046e4
1 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,7 @@ export interface VendorDirectories {
|
||||||
outDir: string
|
outDir: string
|
||||||
proprietaryDir: string
|
proprietaryDir: string
|
||||||
fwDir: string
|
fwDir: string
|
||||||
|
overlaysDir: string
|
||||||
}
|
}
|
||||||
|
|
||||||
function nameDepKey(entry: BlobEntry) {
|
function nameDepKey(entry: BlobEntry) {
|
||||||
|
@ -113,7 +114,6 @@ export async function generateBuild(
|
||||||
|
|
||||||
return {
|
return {
|
||||||
blueprint: {
|
blueprint: {
|
||||||
imports: [],
|
|
||||||
modules: namedModules.values(),
|
modules: namedModules.values(),
|
||||||
},
|
},
|
||||||
modulesMakefile: {
|
modulesMakefile: {
|
||||||
|
@ -141,10 +141,14 @@ export async function createVendorDirs(vendor: string, device: string) {
|
||||||
let fwDir = `${proprietaryDir}/firmware`
|
let fwDir = `${proprietaryDir}/firmware`
|
||||||
await fs.mkdir(fwDir, { recursive: true })
|
await fs.mkdir(fwDir, { recursive: true })
|
||||||
|
|
||||||
|
let overlaysDir = `${proprietaryDir}/overlays`
|
||||||
|
await fs.mkdir(overlaysDir, { recursive: true })
|
||||||
|
|
||||||
return {
|
return {
|
||||||
outDir: outDir,
|
outDir: outDir,
|
||||||
proprietaryDir: proprietaryDir,
|
proprietaryDir: proprietaryDir,
|
||||||
fwDir: fwDir,
|
fwDir: fwDir,
|
||||||
|
overlaysDir: overlaysDir,
|
||||||
} as VendorDirectories
|
} as VendorDirectories
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue