(CommandList children: [ (C {(echo)} {(DQ ('*** BUILD GLIBC BEGIN ***'))}) (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: [12 14] ) } spids: [11] ) ] spids: [11] ) (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: F ) ] ) left_token: <Left_CommandSub '$('> spids: [22 42] ) ) } spids: [20] ) ] spids: [20] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CFLAGS) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(grep)} {(-i)} {(Lit_Other '^') (CFLAGS)} {(.config)}) (C {(cut)} {(-f2)} {(-d) (SQ <'='>)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [51 71] ) ) } spids: [49] ) ] spids: [49] ) (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: F ) ] ) left_token: <Left_CommandSub '$('> spids: [79 92] ) } spids: [78] ) ] spids: [78] ) (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: [99 106] ) } spids: [98] ) ] spids: [98] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:KERNEL_INSTALLED) op: Equal rhs: {($ VSub_Name '$SRC_DIR') (/work/kernel/kernel_installed)} spids: [112] ) ] spids: [112] ) (C {(cd)} {(work/glibc)}) (C {(cd)} { (CommandSubPart command_list: (CommandList children:[(C {(ls)} {(-d)} {(glibc-) (Lit_Other '*')})]) left_token: <Left_CommandSub '$('> spids: [127 134] ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:GLIBC_SRC) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_CommandSub '$('> spids: [137 139] ) } spids: [136] ) ] spids: [136] ) (C {(cd)} {(..)}) (C {(echo)} {(DQ ('Preparing glibc object area. This may take a while...'))}) (C {(rm)} {(-rf)} {(glibc_objects)}) (C {(mkdir)} {(glibc_objects)}) (C {(echo)} {(DQ ('Preparing glibc install area. This may take a while...'))}) (C {(rm)} {(-rf)} {(glibc_installed)}) (C {(mkdir)} {(glibc_installed)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:GLIBC_INSTALLED) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_CommandSub '$('> spids: [186 188] ) (/glibc_installed) } spids: [185] ) ] spids: [185] ) (C {(cd)} {(glibc_objects)}) (C {(echo)} {(DQ ('Configuring glibc...'))}) (C {($ VSub_Name '$GLIBC_SRC') (/configure)} {(--prefix) (Lit_Other '=')} {(--with-headers) (Lit_Other '=') ($ VSub_Name '$KERNEL_INSTALLED') (/include)} {(--without-gd)} {(--without-selinux)} {(--disable-werror)} {(Lit_VarLike 'CFLAGS=') (DQ ($ VSub_Name '$CFLAGS'))} ) (C {(echo)} {(DQ ('Building glibc...'))}) (C {(make)} {(-j)} {($ VSub_Name '$NUM_JOBS')}) (C {(echo)} {(DQ ('Installing glibc...'))}) (C {(make)} {(install)} {(Lit_VarLike 'DESTDIR=') ($ VSub_Name '$GLIBC_INSTALLED')} {(-j)} {($ VSub_Name '$NUM_JOBS')} ) (C {(cd)} {($ VSub_Name '$SRC_DIR')}) (C {(echo)} {(DQ ('*** BUILD GLIBC END ***'))}) ] )