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

25 lines
630 B
Diff
Raw Normal View History

2018-12-24 14:57:19 +01:00
From 4f4d7b74391db1cdec6b32d085090a9c6a8d4cad Mon Sep 17 00:00:00 2001
2018-11-02 15:49:12 +01:00
From: Martchus <martchus@gmx.net>
Date: Thu, 1 Nov 2018 04:58:01 +0000
2018-12-24 14:57:19 +01:00
Subject: [PATCH 1/3] Allow to adjust build directory
2018-11-02 15:49:12 +01:00
---
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);
--
2018-12-24 14:57:19 +01:00
2.20.1
2018-11-02 15:49:12 +01:00