# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/matrox-m9x/postlinux.conf # Copyright (C) 2004 - 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- # this builds the matching matrox-mtx kernel modules for the building kernel . $confdir/$pkg.conf install_mtx() { echo . | sh $srctar --extract-only || true cd m* apply_patchfiles cd kernel/src var_append makeopt ' ' CC=$KCC KDIR=$moduledir/build eval $MAKE $makeopt quirks m9x mkdir -p $moduledir/matrox install */*.ko $moduledir/matrox/ }