summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
AgeCommit message (Expand)AuthorFilesLines
2019-07-25intel-corei7-64: Remove ttyS2 from SERIAL_CONSOLESScott Murray1-0/+2
2019-07-24Fix i.MX6 multiple package tuning problemScott Murray3-0/+15
2019-07-24raspberrypi4.conf: Add machine definitionLeon Anavi1-0/+25
2019-07-23machine: Add new ebisu machinePierre Marzin1-0/+13
2019-07-13Revert "Fix rpi touchscreen support on master"Jan-Simon Moeller1-8/+0
2019-06-20Add cubox-i and nitrogen6x i.MX6 machinesScott Murray2-0/+39
2019-06-20meta-agl-bsp: Changes to get imx6qdlsabreauto working with etnavivScott Murray1-15/+11
2019-06-11Merge "Do not pull pulseaudio-misc if pulseaudio is not enabled"Jan-Simon Moeller1-1/+1
2019-06-12Do not pull pulseaudio-misc if pulseaudio is not enabledJan-Simon Möller1-1/+1
2019-06-11Import aglsetup templates and config for BBEPaul Barker1-0/+43
2019-06-05Fix rpi touchscreen support on masterJan-Simon Möller1-0/+8
2019-05-21Remove the 64bit rpi3 targetJan-Simon Möller1-25/+0
2019-04-29Merge "Add ARC HSDK board support"Jan-Simon Moeller1-0/+5
2019-04-29Merge "Remove inactive devices"Jan-Simon Moeller4-110/+0
2019-04-29Remove inactive devicesJan-Simon Möller4-110/+0
2019-04-26Add ARC HSDK board supportEvgeniy Didin1-0/+5
2019-04-23Fix imx6qdlsabreauto machine configurationBechir Mghirbi2-47/+20
2019-04-04Upgrade to thudScott Murray6-17/+8
2018-11-30Enable agl-sota for h3ulcbAnton Gerasimov4-1/+10
2018-11-29agl_raspberrypi3.inc: Add create-combined-dtbLeon Anavi1-1/+1
2018-11-14dragonboard-410c: change init sequence of the qcom kernel moduleYuya Ono1-1/+2
2018-11-07Latest meta-altera supports wic IMAGE_FSTYPEJan-Simon Möller1-1/+1
2018-10-12[RCAR] Change RENESAS_DATADIR valueRonan Le Martret1-0/+2
2018-10-08Mutualizes code for ulcb card family conf fileRonan Le Martret5-106/+52
2018-09-18agl_raspberrypi3.inc: WiFi on Raspberry Pi 3 B & B+Leon Anavi1-1/+1
2018-09-13Uprev the nogfx machine include to the same stateJan-Simon Möller1-0/+3
2018-08-16Add machine templates for qemuarm and qemuarm64Jan-Simon Möller3-0/+49
2018-08-06Reduce fixed memory split on RPi3Jan-Simon Möller1-1/+1
2018-08-02Remove touchscreen additionJan-Simon Möller1-3/+0
2018-07-30Re-add dra7-evm-lcd-lg.dtb as it the screen of the board in CIJan-Simon Möller1-0/+3
2018-07-24Bump gpu memory on rpi3Jan-Simon Möller1-1/+1
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller2-4/+1
2018-05-14Temporary fix for -nogfx target during layer reorgJan-Simon Möller1-0/+3
2018-04-05Rework how we pass arguments to QEMU, provide a wks.in fileTom Rini1-5/+8
2018-04-04Adapt repository priorities in preparation of the profilesJan-Simon Möller1-1/+1
2018-03-29Merge "Merge branch 'sandbox/ronan/rocko_kf'"Jan-Simon Moeller3-9/+2
2018-03-20Update BBMASK for ulcb boardRonan Le Martret3-9/+2
2018-03-13re-enable gobject-introspectionMartin Kelly2-4/+0
2018-03-13Merge "dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wic"Jan-Simon Moeller2-1/+2
2018-03-08dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wicTom Rini2-1/+2
2018-03-07Add db-820c as community boardJan-Simon Möller1-0/+2
2018-03-02enabling kernel 4.14Dominig ar Foll Intel Open Source1-0/+3
2018-02-22Merge "Remove old boards for rocko"Jan-Simon Moeller3-232/+0
2018-02-20Remove old boards for rockoJan-Simon Möller3-232/+0
2018-02-20Fixes for meta-agl-bsp for rockoJan-Simon Möller1-1/+3
2018-02-13Update ulcb conf fileronan2-21/+5
2018-02-13[GEN3] add preferred version on omx packageronan1-0/+2
2018-02-13Fix gst omx versionRonan Le Martret2-0/+4
2018-02-13Change image type to wic.vmdkChanghyeok Bae1-1/+2
2018-02-05bsp: add salvator-x H3 supportMartin Kelly1-0/+3
GIT=$(which git) REALPATH=$(which realpath) [[ ! -x $GIT ]] && { error "$BASH_SOURCE: Unable to find git command in $PATH."; return 3; } [[ ! -x $REALPATH ]] && { error "$BASH_SOURCE: Unable to find realpath command in $PATH."; return 4; } local gitrepo gitrev metagitdir sep="" DIST_LAYERS="" for metagitdir in $(ls -d $DIST_METADIR/*/.git); do gitrepo=$($REALPATH -Ls $metagitdir/.. --relative-to=$DIST_METADIR) pushd $DIST_METADIR/$gitrepo &>/dev/null && { gitrev=$( { $GIT describe --long --dirty --always 2>/dev/null || echo "unknown_revision"; } | tr ' \t' '__' ) popd &>/dev/null } || { gitrev=unknown } DIST_LAYERS="${DIST_LAYERS}${sep}${gitrepo}:${gitrev}" sep=" " done # layers checksum DIST_LAYERS_MD5=$(echo $DIST_LAYERS|md5sum -|awk '{print $1;}') # in json, transform layers in an object, features in array [[ "$format" == "json" ]] && { DIST_FEATURES=$(for x in $DIST_FEATURES; do echo $x done | out_array) DIST_LAYERS=$(for x in $DIST_LAYERS; do echo ${x%%:*} echo ${x#*:} done | out_object) } # compute build hash DIST_BUILD_HASH="F${DIST_FEATURES_MD5:0:8}-L${DIST_LAYERS_MD5:0:8}" DIST_BUILD_ID="${DIST_DISTRO_NAME}-${DIST_MACHINE}-F${DIST_FEATURES_MD5:0:8}-L${DIST_LAYERS_MD5:0:8}" # compute setup manifest path and build TS DIST_SETUP_MANIFEST="$($REALPATH $manifest)" # Manifest build timestamp DIST_BUILD_TS="$(date -u +%Y%m%d_%H%M%S_%Z)" # what to retain from setup manifest? # to generate the full list: cat setup.manifest | grep = | cut -f1 -d"=" | awk '{printf("%s ",$1);}' declare -A SETUP_VARS SETUP_VARS[deploy]="DIST_MACHINE DIST_FEATURES DIST_FEATURES_MD5 DIST_BUILD_HOST DIST_BUILD_OS DIST_SETUP_TS" SETUP_VARS[target]="DIST_MACHINE DIST_FEATURES" SETUP_VARS[sdk]="DIST_MACHINE DIST_FEATURES" # extra vars not coming from setup.manifest but generated here declare -A EXTRA_VARS EXTRA_VARS[deploy]="DIST_SETUP_MANIFEST DIST_BUILD_TS DIST_LAYERS DIST_LAYERS_MD5 DIST_BUILD_HASH DIST_BUILD_ID" EXTRA_VARS[target]="DIST_LAYERS DIST_BUILD_HASH DIST_BUILD_ID" EXTRA_VARS[sdk]="DIST_LAYERS DIST_BUILD_HASH DIST_BUILD_ID" # BITBAKE_VARS may be defined from external file to source (--source arg) # this is used to dump extra vars from inside bitbake recipe { for x in ${SETUP_VARS[$mode]} ${EXTRA_VARS[$mode]} ${BITBAKE_VARS[$mode]}; do k=$x [[ "$format" == "json" ]] && { k=${k#DIST_} # remove prefix k=${k,,*} # to lower case } echo $k echo ${!x} done } | out_object } function getmanifest() { local rc=0 out_comment "DISTRO BUILD MANIFEST" out_comment # add layers manifest out_comment "----- this fragment has been generated by $BASH_SOURCE" _getgitmanifest $1 $2 || rc=$? out_comment "------------ end of $BASH_SOURCE fragment --------" return $rc } function __usage() { cat <<EOF >&2 Usage: $BASH_SOURCE [-v|--verbose] [-f|--format <fmt>] [-m|--mode <mode>] [-s|--source <file>] <setup_manifest_file> Options: -v|--verbose: generate comments in the output file -s|--source: extra file to source (get extra variables generated from bitbake recipe) -f|--format: specify output format: 'bash' or 'json' -m|--mode: specify the destination for the generated manifest 'deploy' : for the tmp/deploy/images/* directories 'target' : for the manifest to be installed inside a target image 'sdk' : for the manifest to be installed inside the SDK <setup_manifest_file> is the input manifest generated from setup script EOF } set -e tmp=$(getopt -o h,v,m:,f:,s: --long help,verbose,mode:,format:,source: -n "$BASH_SOURCE" -- "$@") || { error "Invalid arguments." __usage exit 1 } eval set -- $tmp while true; do case "$1" in -h|--help) __usage; exit 0;; -v|--verbose) verbose=1; shift ;; -f|--format) format=$2; shift 2;; -m|--mode) mode=$2; shift 2;; -s|--source) sourcefile=$2; shift 2;; --) shift; break;; *) fatal "Internal error";; esac done manifest=$1 shift [[ ! -f "$manifest" ]] && { __usage; exit 1; } case $mode in deploy|target|sdk) ;; *) error "Invalid mode specified. Allowed modes are: 'deploy', 'target', 'sdk'"; __usage; exit 42;; esac case $format in bash|json) ;; *) error "Invalid format specified. Allowed formats are 'json' or 'bash'"; __usage; exit 43;; esac info "Generating manifest: mode=$mode format=$format manifest=$manifest" [[ -f "$sourcefile" ]] && { info "Sourcing file $sourcefile" . $sourcefile # this may define extra vars: to be taken into account BITBAKE_VARS must be defined } [[ "$format" == "json" ]] && { # if jq is present, use it to format json output jq=$(which jq || true) [[ -n "$jq" ]] && { getmanifest $manifest $mode | $jq "" exit ${PIPESTATUS[0]} } } getmanifest $manifest $mode