mcst-linux-kernel/patches-2024.06.26/fbset-2.1/0000-init.add.patch

54 lines
1.5 KiB
Diff

*** a/Makefile Sun Jan 17 19:15:46 1999
--- b/Makefile Thu Apr 18 02:02:29 2019
***************
*** 2,8 ****
# Linux Frame Buffer Device Configuration
#
! CC = gcc -Wall -O2 -I.
BISON = bison -d
FLEX = flex
INSTALL = install
--- 2,8 ----
# Linux Frame Buffer Device Configuration
#
! # CC = gcc -Wall -O2 -I.
BISON = bison -d
FLEX = flex
INSTALL = install
***************
*** 24,41 ****
$(BISON) modes.y
install: fbset
! if [ -f /sbin/fbset ]; then rm /sbin/fbset; fi
! $(INSTALL) fbset /usr/sbin
! $(INSTALL) fbset.8 /usr/man/man8
! $(INSTALL) fb.modes.5 /usr/man/man5
! if [ ! -c /dev/fb0 ]; then mknod /dev/fb0 c 29 0; fi
! if [ ! -c /dev/fb1 ]; then mknod /dev/fb1 c 29 32; fi
! if [ ! -c /dev/fb2 ]; then mknod /dev/fb2 c 29 64; fi
! if [ ! -c /dev/fb3 ]; then mknod /dev/fb3 c 29 96; fi
! if [ ! -c /dev/fb4 ]; then mknod /dev/fb4 c 29 128; fi
! if [ ! -c /dev/fb5 ]; then mknod /dev/fb5 c 29 160; fi
! if [ ! -c /dev/fb6 ]; then mknod /dev/fb6 c 29 192; fi
! if [ ! -c /dev/fb7 ]; then mknod /dev/fb7 c 29 224; fi
clean:
$(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h
--- 24,36 ----
$(BISON) modes.y
install: fbset
! if [ -f ${D}/sbin/fbset ]; then rm ${D}/sbin/fbset; fi
! mkdir -p ${D}/bin/
! $(INSTALL) fbset ${D}/bin
! mkdir -p ${D}/usr/share/man/man8
! $(INSTALL) fbset.8 ${D}/usr/share/man/man8
! mkdir -p ${D}/usr/share/man/man5
! $(INSTALL) fb.modes.5 ${D}/usr/share/man/man5
clean:
$(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h