diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-05-13 09:51:51 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-05-13 09:51:51 +0000 |
commit | a1d5011d51f83f6c13916e34a24565435217b885 (patch) | |
tree | 29ddff21d533eaa02b0f10f668981435601801de /strata/bsp-x86_64-ivi/linux-x86-64-ivi.morph | |
parent | 5a10111c049228302e37d495c1a32588a7cc41f6 (diff) | |
parent | 0e0a329c086d424452eaa0bfa77e573f77e3b930 (diff) | |
download | infrastructure-a1d5011d51f83f6c13916e34a24565435217b885.tar.gz |
Merge remote-tracking branch 'definitions/master'pedro/openssl101t
Change-Id: I3c7b31d2006dafd8b69386cbee41d0d568b348eb
Diffstat (limited to 'strata/bsp-x86_64-ivi/linux-x86-64-ivi.morph')
-rw-r--r-- | strata/bsp-x86_64-ivi/linux-x86-64-ivi.morph | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/strata/bsp-x86_64-ivi/linux-x86-64-ivi.morph b/strata/bsp-x86_64-ivi/linux-x86-64-ivi.morph new file mode 100644 index 00000000..4ea25199 --- /dev/null +++ b/strata/bsp-x86_64-ivi/linux-x86-64-ivi.morph @@ -0,0 +1,48 @@ +name: linux-x86-64-ivi +kind: chunk +products: +- artifact: linux-x86-64-ivi-devel + include: + - (usr/)?src/linux/.* +- artifact: linux-x86-64-ivi-bins + include: + - boot/.* +- artifact: linux-x86-64-ivi-libs + include: + - lib/.* +configure-commands: +- make defconfig +- scripts/config -m CONFIG_DRM_CIRRUS_QEMU +- scripts/config -m CONFIG_DRM_BOCHS +- scripts/config -m CONFIG_DRM_VIRTIO_GPU +- scripts/config -m CONFIG_BT_INTEL +- scripts/config -m CONFIG_MOSTCORE +- yes '' | make oldconfig +build-commands: +- make $MAKEFLAGS +install-commands: +- mkdir -p "$DESTDIR"/boot +- make INSTALL_PATH="$DESTDIR"/boot install +- make INSTALL_MOD_PATH="$DESTDIR" modules_install +- install -d "$DESTDIR$PREFIX/src/linux" +- | + ( + printf 'Makefile\0' + printf 'Module.symvers\0' + find arch/x86 -maxdepth 1 -name 'Makefile*' -print0 + find arch/x86 \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print0 + find arch/x86 \( -type d -a \( -name include -o -name scripts \) \) -o \ + \! -type d -a \( -path '*include/*' -o -path '*scripts/*' \) -print0 + find include -name 'asm*' -prune -o -print0 + find include/asm-generic -print0 + find include/uapi -print0 + find scripts -print0 + ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux" +system-integration: + linux-x86-64-ivi-misc: + # This is required for any modules to work correctly. However, it depends + # `depmod` from the 'kmod' chunk in the 'foundation' stratum, so it runs + # conditionally on `depmod` existing to avoid breaking in + # minimal-system-x86_64. + 00-depmod: + - if which depmod; then (cd /lib/modules && for version in *; do depmod -a "$version"; done) fi |