diff options
Diffstat (limited to 'strata/x-common/drm.morph')
-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 |