From da64e046e4c0e1ec0bbfef78898c9df51047eb51 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Thu, 11 Nov 2021 16:28:21 -0800 Subject: [PATCH] build: Create overlays directory and remove empty imports array --- src/blobs/build.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/blobs/build.ts b/src/blobs/build.ts index 2ce9de9..447c27a 100644 --- a/src/blobs/build.ts +++ b/src/blobs/build.ts @@ -16,6 +16,7 @@ export interface VendorDirectories { outDir: string proprietaryDir: string fwDir: string + overlaysDir: string } function nameDepKey(entry: BlobEntry) { @@ -113,7 +114,6 @@ export async function generateBuild( return { blueprint: { - imports: [], modules: namedModules.values(), }, modulesMakefile: { @@ -141,10 +141,14 @@ export async function createVendorDirs(vendor: string, device: string) { let fwDir = `${proprietaryDir}/firmware` await fs.mkdir(fwDir, { recursive: true }) + let overlaysDir = `${proprietaryDir}/overlays` + await fs.mkdir(overlaysDir, { recursive: true }) + return { outDir: outDir, proprietaryDir: proprietaryDir, fwDir: fwDir, + overlaysDir: overlaysDir, } as VendorDirectories }