Skip to content

Commit aa7d9e9

Browse files
author
ponty
committedApr 15, 2021
vfb test: add missing Makefile, fix build
1 parent ae5eb45 commit aa7d9e9

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed
 

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
moc_*.cpp
2121
qrc_*.cpp
2222
ui_*.h
23-
Makefile*
23+
#Makefile*
2424
*-build-*
2525

2626
# QtCreator

‎Vagrantfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Vagrant.configure(2) do |config|
8181
sudo apt-get install -y xvfb
8282
sudo apt-get install -y python3-pip
8383
sudo apt-get install -y libvncserver-dev
84-
sudo apt-get install -y build-essential
84+
sudo apt-get install -y build-essential flex bison
8585
sudo apt-get install -y cmake
8686
sudo apt-get install -y qt5-qmake qt5-default
8787
sudo apt-get install -y linux-source libssl-dev libelf-dev

‎tests/vfb/Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ifneq ($(KERNELRELEASE),)
2+
obj-m := vfb.o
3+
else
4+
KDIR := /lib/modules/$(shell uname -r)/build
5+
PWD := $(shell pwd)
6+
all:
7+
$(MAKE) -C $(KDIR) M=$(shell pwd) modules
8+
install:
9+
$(MAKE) -C $(KDIR) M=$(shell pwd) modules_install
10+
%:
11+
$(MAKE) -C $(KDIR) M=$(shell pwd) $@
12+
endif

0 commit comments

Comments
 (0)