(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SRC_DIR) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_CommandSub "$("> spids: [5 7] ) } spids: [4] ) ] spids: [4] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:JOB_FACTOR) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(grep)} {(-i)} {(Lit_Other "^") (JOB_FACTOR)} {(.config)}) (C {(cut)} {(-f2)} {(-d) (SQ <"=">)}) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [15 35] ) ) } spids: [13] ) ] spids: [13] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:NUM_CORES) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(grep)} {(Lit_Other "^") (processor)} {(/proc/cpuinfo)}) (C {(wc)} {(-l)}) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [43 56] ) } spids: [42] ) ] spids: [42] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:NUM_JOBS) op: Equal rhs: { (ArithSubPart anode: (ArithBinary op_id: Arith_Star left: (ArithVarRef name:NUM_CORES) right: (ArithVarRef name:JOB_FACTOR) ) spids: [63 70] ) } spids: [62] ) ] spids: [62] ) (C {(cd)} {(work/overlay/links)}) (C {(cd)} { (CommandSubPart command_list: (CommandList children:[(C {(ls)} {(-d)} {(links-) (Lit_Other "*")})]) left_token: <Left_CommandSub "$("> spids: [83 90] ) } ) (C {(echo)} {(DQ ("Preparing Links work area. This may take a while..."))}) (SimpleCommand words: [{(make)} {(clean)} {(-j)} {($ VSub_Name "$NUM_JOBS")}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[107])] ) (C {(rm)} {(-rf)} {(../links_installed)}) (C {(echo)} {(DQ ("Configuring Links..."))}) (C {(./configure)} {(--prefix) (Lit_Other "=") (../links_installed)} {(--disable-graphics)} {(--disable-utf8)} {(--without-ipv6)} {(--without-ssl)} {(--without-zlib)} {(--without-x)} ) (C {(sed)} {(-i)} { (DQ ("s/^CFLAGS = .*/CFLAGS = ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) ("-Os ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) ("-s ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (-fno) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (-stack) (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) ("-protector ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (-U_FORTIFY_SOURCE/) ) } {(Makefile)} ) (C {(echo)} {(DQ ("Building Links..."))}) (C {(make)} {(-j)} {($ VSub_Name "$NUM_JOBS")}) (C {(echo)} {(DQ ("Installing Links..."))}) (C {(make)} {(install)} {(-j)} {($ VSub_Name "$NUM_JOBS")}) (C {(echo)} {(DQ ("Reducing Links size..."))}) (SimpleCommand words: [{(strip)} {(-g)} {(../links_installed/bin/) (Lit_Other "*")}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[224])] ) (C {(cp)} {(-r)} {(../links_installed/bin)} {($ VSub_Name "$SRC_DIR") (/work/src/minimal_overlay)}) (C {(echo)} {(DQ ("Links has been installed."))}) (C {(cd)} {($ VSub_Name "$SRC_DIR")}) ] )