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