PKGBUILDs/rpi_ws281x/git/0001-Allow-to-adjust-build-...

25 lines
630 B
Diff

From 4f4d7b74391db1cdec6b32d085090a9c6a8d4cad Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Thu, 1 Nov 2018 04:58:01 +0000
Subject: [PATCH 1/3] Allow to adjust build directory
---
SConstruct | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/SConstruct b/SConstruct
index 64c14c7..16ac279 100644
--- a/SConstruct
+++ b/SConstruct
@@ -72,5 +72,6 @@ if env['TOOLCHAIN'] != '':
env['AR'] = env['TOOLCHAIN'] + '-ar'
Export(['clean_envs'])
-SConscript('SConscript');
+AddOption('--build', default='')
+SConscript('SConscript', variant_dir=GetOption('build'), duplicate=0);
--
2.20.1