diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2014-09-11 16:26:32 +0000 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2014-09-11 16:26:32 +0000 |
commit | cf770f5d4f6473fe127eb53d98daa3aca51d530b (patch) | |
tree | 086b4f97f4c9e3403b6877410c1afcfe0a43b77d /strata/x-common | |
parent | 6523c60a6e918d982ac378beef48e0d3dfa0603e (diff) | |
download | definitions-cf770f5d4f6473fe127eb53d98daa3aca51d530b.tar.gz |
Update GENIVI and related content a little, add Jetson GENIVI baseline
Diffstat (limited to 'strata/x-common')
-rw-r--r-- | strata/x-common/drm.morph | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/strata/x-common/drm.morph b/strata/x-common/drm.morph new file mode 100644 index 00000000..99cea8c0 --- /dev/null +++ b/strata/x-common/drm.morph @@ -0,0 +1,20 @@ +name: drm +kind: chunk +build-system: autotools +configure-commands: + - NOCONFIGURE=1 ./autogen.sh + - | + set -x + if test "$MORPH_ARCH" = "armv7lhf"; then + TEGRA=--enable-tegra-experimental-api + else + TEGRA= + fi + ./configure --prefix="$PREFIX" $TEGRA +install-commands: + - make install DESTDIR="$DESTDIR" + - | + if test -e tegra/libdrm_tegra.la; then + mkdir -p "$DESTDIR"/usr/lib/pkgconfig + /usr/bin/install -c -m 644 tegra/libdrm_tegra.pc "$DESTDIR"/usr/lib/pkgconfig + fi |