From a3f8f4ff212da2cab0a34e37170fb15d248ef98a Mon Sep 17 00:00:00 2001 From: bmax121 Date: Mon, 25 Mar 2024 21:07:31 +0800 Subject: [PATCH] a --- .github/workflows/build.yml | 3 ++- kpms/make-shamiko-happy/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e464cd7c..ef0448c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,6 +66,7 @@ jobs: cd ../make-shamiko-happy make + mv syscallhook.kpm demo-make-shamiko-happy.kpm - name: Upload elf uses: actions/upload-artifact@v3 @@ -86,7 +87,7 @@ jobs: kpms/demo-hello/demo-hello.kpm kpms/demo-inlinehook/demo-inlinehook.kpm kpms/demo-syscallhook/demo-syscallhook.kpm - kpms/make-shamiko-happy/shamiko.kpm + kpms/make-shamiko-happy/demo-make-shamiko-happy.kpm generateReleaseNotes: true omitBodyDuringUpdate: true allowUpdates: true diff --git a/kpms/make-shamiko-happy/Makefile b/kpms/make-shamiko-happy/Makefile index 9f20d5ec..d4a56118 100644 --- a/kpms/make-shamiko-happy/Makefile +++ b/kpms/make-shamiko-happy/Makefile @@ -16,9 +16,9 @@ INCLUDE_FLAGS := $(foreach dir,$(INCLUDE_DIRS),-I$(KP_DIR)/kernel/$(dir)) objs := main.o -all: shamiko.kpm +all: make-shamiko-happy.kpm -shamiko.kpm: ${objs} +make-shamiko-happy.kpm: ${objs} ${CC} -r -o $@ $^ %.o: %.c