Skip to content

Commit

Permalink
refactor(scons): remove redundant current directory references
Browse files Browse the repository at this point in the history
These changes
simplify the build scripts and improve readability.
  • Loading branch information
loengjyu committed Jul 11, 2024
1 parent 898ac67 commit 258e4fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions apps/controller/mc_pos_control/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import os
import sys
from building import *


cwd = GetCurrentDir()

inc = []
Expand All @@ -15,5 +14,4 @@ src = [

objs = DefineGroup("fcs/mc_pos_control", src, depend=["FCS_USING_MC_POS_CONTROL"])


Return("objs")
3 changes: 0 additions & 3 deletions pkgs/workq/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ import sys
import rtconfig
from building import *


cwd = GetCurrentDir()

inc = [cwd]
src = Glob("*.cpp")

objs = DefineGroup("pkg/workq", src, depend=["PKG_USING_WORKQUEUE"], CPPPATH=inc)


Return("objs")

0 comments on commit 258e4fe

Please sign in to comment.