Add support to import custom variables from parent SConstruct (redux)
@@ -21,6 +21,10 @@ env.PrependENVPath("PATH", os.getenv("PATH"))
# Custom options and profile flags.
customs = ["custom.py"]
+try:
+ customs += Import("customs")
+except:
+ pass
profile = ARGUMENTS.get("profile", "")
if profile:
if os.path.isfile(profile):