1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/xresprobe/xresprobe.conf
3 # Copyright (C) 2007 - 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 function build_xresprobe {
15 $CC -W -Wall -c vesamode.c
16 $CC -W -Wall -c common.c
17 $CC -W -Wall -c x86-common.c
18 $CC -W -Wall -c lrmi.c
20 $CC -W -Wall -c ddcprobe.c
21 $CC -W -Wall -o ddcprobe vesamode.o common.o x86-common.o lrmi.o vbe.o ddcprobe.o
22 #gcc -W -Wall -g -O2 -c -o ddcxinfo.o ddcxinfo.c
23 #gcc -W -Wall -g -O2 -o ddcxinfo vesamode.o common.o x86-common.o lrmi.o vbe.o ddcxinfo.o
24 #gcc -W -Wall -g -O2 -c -o svgamodes.o svgamodes.c
25 #gcc -lm svgamodes.o x86-common.o lrmi.o vesamode.o vbe.o -o svgamodes
26 #gcc -W -Wall -g -O2 -c -o modetest.o modetest.c
27 #gcc -lm modetest.o x86-common.o lrmi.o vesamode.o vbe.o -o modetest
28 #ar cru libvbe.a x86-common.o lrmi.o vesamode.o vbe.o
29 cp -a -f ddcprobe $root/usr/sbin/
33 hook_add postmake 5 "build_xresprobe"