diff --git a/Makefile b/Makefile index 8fd2d6d..8622097 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ go.o: @# with slashes we create a global symbol alias for kernel.Kmain @echo "[objcopy] creating global symbol alias 'kernel.Kmain' for 'github.com/achilleasa/gopher-os/kernel.Kmain' in go.o" @objcopy \ - --add-symbol kernel.Kmain=.text:0x`nm $(BUILD_DIR)/go.o | grep "kernel.Kmain" | cut -d' ' -f1` \ + --add-symbol kernel.Kmain=.text:0x`nm $(BUILD_DIR)/go.o | grep "kernel.Kmain$$" | cut -d' ' -f1` \ $(BUILD_DIR)/go.o $(BUILD_DIR)/go.o binutils_version_check: