(CommandList children: [ (AndOr children:[(C {(source)} {(sources/include.sh)})(C {(exit)} {(1)})] op_id:Op_DPipe) (C {(load_target)} {(DQ ($ VSub_Number "$1"))}) (AndOr children:[(C {(check_for_base_arch)})(C {(exit)} {(0)})] op_id:Op_DPipe) (C {(check_prerequisite)} {(DQ (${ VSub_Name CC_PREFIX) (cc))}) (AndOr children: [ (C {(mkdir)} {(-p)} (BracedWordTree parts: [ (DQ ($ VSub_Name "$STAGE_DIR")) (/) (BracedAltPart words: [{(tmp)} {(proc)} {(sys)} {(dev)} {(home)} {(mnt)} {(root)}] ) ] ) ) (AndOr children: [ (C {(chmod)} {(a) (Lit_Other "+") (rwxt)} {(DQ ($ VSub_Name "$STAGE_DIR") (/tmp))}) (C {(dienow)}) ] op_id: Op_DPipe ) ] op_id: Op_DAmp ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:STAGE_USR) op: Equal rhs: {(DQ ($ VSub_Name "$STAGE_DIR") (/usr))} spids: [101] ) ] spids: [101] ) (ForEach iter_name: i iter_words: [{(bin)} {(sbin)} {(lib)} {(etc)}] do_arg_iter: False body: (DoGroup children: [ (AndOr children: [ (C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$STAGE_USR") (/) ($ VSub_Name "$i"))}) (AndOr children: [ (C {(ln)} {(-s)} {(DQ (usr/) ($ VSub_Name "$i"))} {(DQ ($ VSub_Name "$STAGE_DIR") (/) ($ VSub_Name "$i"))} ) (C {(dienow)}) ] op_id: Op_DPipe ) ] op_id: Op_DAmp ) ] spids: [137 171] ) spids: [128 -1] ) (AndOr children: [ (C {(cp)} {(-r)} {(DQ ($ VSub_Name "$SOURCES") (/root-filesystem/.))} {(DQ ($ VSub_Name "$STAGE_USR") (/))} ) (AndOr children: [ (SimpleCommand words: [ {(echo)} {(-e)} { (DQ ("CROSS_TARGET=") ($ VSub_Name "$CROSS_TARGET") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">) ("KARCH=") ($ VSub_Name "$KARCH") ) } ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ ($ VSub_Name "$STAGE_USR") (/src/host-info))} spids: [206] ) ] ) (AndOr children: [ (C {(cp)} {(DQ ($ VSub_Name "$SRCDIR")) (/MANIFEST)} {(DQ ($ VSub_Name "$STAGE_USR") (/src))} ) (C {(dienow)}) ] op_id: Op_DPipe ) ] op_id: Op_DAmp ) ] op_id: Op_DAmp ) (If arms: [ (if_arm cond: [ (C {(Lit_Other "[")} {(KW_Bang "!")} {(-z)} {(DQ ($ VSub_Name "$MY_ROOT_OVERLAY"))} {(Lit_Other "]")} ) ] action: [ (C {(cd)} {(DQ ($ VSub_Name "$TOP"))}) (AndOr children: [ (Pipeline children: [ (C {(tar)} {(-c)} {(-C)} {(DQ ($ VSub_Name "$MY_ROOT_OVERLAY"))} {(.)}) (C {(tar)} {(-x)} {(-C)} {(DQ ($ VSub_Name "$STAGE_DIR"))}) ] negated: False ) (C {(dienow)}) ] op_id: Op_DPipe ) ] spids: [-1 255] ) ] spids: [-1 293] ) (SimpleCommand words: [{(build_section)} {(busybox)}] more_env: [(env_pair name:STAGE_DIR val:{(DQ ($ VSub_Name "$STAGE_USR"))} spids:[300])] ) (AndOr children: [ (C {(cp)} {(DQ ($ VSub_Name "$WORK")) (/config-busybox)} {(DQ ($ VSub_Name "$STAGE_USR")) (/src)} ) (C {(dienow)}) ] op_id: Op_DPipe ) (C {(build_section)} {(toybox)}) (AndOr children: [ (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} {(DQ (${ VSub_Name SOURCES) (/root-filesystem/src/hello.c))} {(-Os)} {($ VSub_Name "$CFLAGS")} {(-o)} {(DQ ($ VSub_Name "$STAGE_USR") (/bin/hello-dynamic))} ) (C {(dienow)}) ] op_id: Op_DPipe ) (If arms: [ (if_arm cond: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$BUILD_STATIC"))} {(KW_Bang "!") (Lit_Other "=")} {(none)} {(Lit_Other "]")} ) ] action: [ (AndOr children: [ (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} {(DQ (${ VSub_Name SOURCES) (/root-filesystem/src/hello.c))} {(-Os)} {($ VSub_Name "$CFLAGS")} {(-static)} {(-o)} {(DQ ($ VSub_Name "$STAGE_USR") (/bin/hello-static))} ) (C {(dienow)}) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:STATIC) op:Equal rhs:{(--static)} spids:[421])] spids: [421] ) ] spids: [-1 384] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:STATIC) op:Equal rhs:{(SQ )} spids:[427])] spids: [427] ) ] spids: [424 429] ) (AndOr children: [ (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} {(DQ ($ VSub_Name "$SOURCES") (/toys/wrappy.c))} {(-Os)} {($ VSub_Name "$CFLAGS")} {($ VSub_Name "$STATIC")} {(-o)} {(DQ ($ VSub_Name "$STAGE_USR") (/bin/record-commands-wrapper))} ) (C {(dienow)}) ] op_id: Op_DPipe ) (If arms: [ (if_arm cond: [ (AndOr children: [ (Pipeline children: [(C {(is_in_list)} {(toybox)} {($ VSub_Name "$BUILD_STATIC")})] negated: True ) (Pipeline children: [(C {(is_in_list)} {(busybox)} {($ VSub_Name "$BUILD_STATIC")})] negated: True ) ] op_id: Op_DPipe ) ] action: [ (C {(echo)} {(Copying)} {(compiler)} {(libraries...)}) (AndOr children: [(C {(mkdir)} {(-p)} {(DQ ($ VSub_Name "$STAGE_USR") (/lib))}) (C {(dienow)})] op_id: Op_DPipe ) (Pipeline children: [ (Subshell child: (AndOr children: [ (C {(path_search)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(DQ (${ VSub_Name CC_PREFIX) (cc))} {(--print-search-dirs)} ) (C {(sed)} {(-n)} {(SQ <"s/^libraries: =*//p">)}) ] negated: False ) ] ) left_token: <Left_CommandSub "$("> spids: [524 543] ) ) } {(DQ ("*.so*"))} {(SQ <"cp -H \"$DIR/$FILE\" \"$STAGE_USR/lib/$FILE\"">)} ) (C {(dienow)}) ] op_id: Op_DPipe ) spids: [518 561] ) (C {(dotprogress)}) ] negated: False ) (AndOr children: [ (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$SKIP_STRIP"))} {(Lit_Other "]")}) (C {(DQ (${ VSub_Name CC_PREFIX) (strip))} {(--strip-unneeded)} {(DQ ($ VSub_Name "$STAGE_USR")) (/lib/) (Lit_Other "*") (.so)} ) ] op_id: Op_DAmp ) ] spids: [-1 492] ) ] spids: [-1 598] ) (AndOr children: [ (C {(Lit_Other "[")} {(-z)} {(DQ ($ VSub_Name "$SKIP_STRIP"))} {(Lit_Other "]")}) (C {(DQ (${ VSub_Name CC_PREFIX) (strip))} (BracedWordTree parts: [ (DQ ($ VSub_Name "$STAGE_USR")) (/) (BracedAltPart words:[{(bin/) (Lit_Other "*")}{(sbin/) (Lit_Other "*")}]) ] ) ) ] op_id: Op_DAmp ) (C {(create_stage_tarball)}) (C {(echo)} {(-e)} {(DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\e">) ("[0mBuild complete"))}) ] )