Compare commits
2 Commits
a6c6b98fd4
...
f7cf19eeff
Author | SHA1 | Date | |
---|---|---|---|
f7cf19eeff | |||
fca6f39dd4 |
14
Makefile
14
Makefile
@ -12,10 +12,11 @@ kernel.build: kernel.prepare
|
|||||||
cd $(BUILD_DIR)/kernel && make deb
|
cd $(BUILD_DIR)/kernel && make deb
|
||||||
|
|
||||||
qemu.build: qemu.prepare
|
qemu.build: qemu.prepare
|
||||||
cd $(BUILD_DIR)/qemu && make deb
|
cd $(BUILD_DIR)/qemu/qemu
|
||||||
|
meson subprojects download || meson subprojects download
|
||||||
|
cd .. && make
|
||||||
|
|
||||||
kernel.prepare:
|
kernel.prepare: | submodule
|
||||||
git submodule update --init --recursive submodules/pve-kernel
|
|
||||||
mkdir -p $(BUILD_DIR)/kernel/patches/kernel
|
mkdir -p $(BUILD_DIR)/kernel/patches/kernel
|
||||||
ln -sf $$(readlink -f submodules/pve-kernel/debian) $(BUILD_DIR)/kernel/
|
ln -sf $$(readlink -f submodules/pve-kernel/debian) $(BUILD_DIR)/kernel/
|
||||||
ln -sf $$(readlink -f submodules/pve-kernel/submodules) $(BUILD_DIR)/kernel/
|
ln -sf $$(readlink -f submodules/pve-kernel/submodules) $(BUILD_DIR)/kernel/
|
||||||
@ -23,8 +24,7 @@ kernel.prepare:
|
|||||||
cp -r patches/kernel/* $(BUILD_DIR)/kernel/patches/kernel
|
cp -r patches/kernel/* $(BUILD_DIR)/kernel/patches/kernel
|
||||||
cp submodules/pve-kernel/* $(BUILD_DIR)/kernel/ || true
|
cp submodules/pve-kernel/* $(BUILD_DIR)/kernel/ || true
|
||||||
|
|
||||||
qemu.prepare:
|
qemu.prepare: | submodule
|
||||||
git submodule update --init submodules/pve-qemu
|
|
||||||
mkdir -p $(BUILD_DIR)/qemu/debian/
|
mkdir -p $(BUILD_DIR)/qemu/debian/
|
||||||
ln -sf $$(readlink -f submodules/pve-qemu/qemu) $(BUILD_DIR)/qemu/
|
ln -sf $$(readlink -f submodules/pve-qemu/qemu) $(BUILD_DIR)/qemu/
|
||||||
cp -r submodules/pve-qemu/debian/* $(BUILD_DIR)/qemu/debian
|
cp -r submodules/pve-qemu/debian/* $(BUILD_DIR)/qemu/debian
|
||||||
@ -32,6 +32,10 @@ qemu.prepare:
|
|||||||
cd $(BUILD_DIR)/qemu/debian/patches && find pve -type f | grep 'pve/9' >> series && cd -
|
cd $(BUILD_DIR)/qemu/debian/patches && find pve -type f | grep 'pve/9' >> series && cd -
|
||||||
cp submodules/pve-qemu/* $(BUILD_DIR)/qemu/ || true
|
cp submodules/pve-qemu/* $(BUILD_DIR)/qemu/ || true
|
||||||
|
|
||||||
|
.PHONY: submodule
|
||||||
|
submodule:
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BUILD_DIR)
|
rm -rf $(BUILD_DIR)
|
@ -4,7 +4,7 @@ diff -Naur --no-dereference a/chardev/msmouse.c b/chardev/msmouse.c
|
|||||||
@@ -172,7 +172,7 @@
|
@@ -172,7 +172,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
static QemuInputHandler msmouse_handler = {
|
static const QemuInputHandler msmouse_handler = {
|
||||||
- .name = "QEMU Microsoft Mouse",
|
- .name = "QEMU Microsoft Mouse",
|
||||||
+ .name = "ASUS Microsoft Mouse",
|
+ .name = "ASUS Microsoft Mouse",
|
||||||
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_REL,
|
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_REL,
|
||||||
@ -16,7 +16,7 @@ diff -Naur --no-dereference a/chardev/wctablet.c b/chardev/wctablet.c
|
|||||||
@@ -179,7 +179,7 @@
|
@@ -179,7 +179,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
static QemuInputHandler wctablet_handler = {
|
static const QemuInputHandler wctablet_handler = {
|
||||||
- .name = "QEMU Wacom Pen Tablet",
|
- .name = "QEMU Wacom Pen Tablet",
|
||||||
+ .name = "ASUS Wacom Pen Tablet",
|
+ .name = "ASUS Wacom Pen Tablet",
|
||||||
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_ABS,
|
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_ABS,
|
||||||
|
Loading…
Reference in New Issue
Block a user