Skip to content

Commit

Permalink
fixed some vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Sinha committed Jun 14, 2020
1 parent e98b2f8 commit 7bd866e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
cc/
cc-files/
**/build
**/bin
**/*.o
.vscode/ipch
.gdb_history
.vscode/ipch
2 changes: 1 addition & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "${workspaceFolder}/cc/bin/i686-elf-gcc",
"compilerPath": "${workspaceFolder}/build/gcc-7.5.0/bin/i686-elf-gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64"
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DEST_DIR = $(PREFIX)/bin
BUILD_DIR = $(PREFIX)/build
SRC_DIR = $(PREFIX)/kernel
CC_VERSION = gcc-7.5.0
CROSS_CC_DIR = $(PREFIX)/../build/$(CC_VERSION)/bin
CROSS_CC_DIR = $(BUILD_DIR)/$(CC_VERSION)/bin

QEMU = /mnt/c/Program\ Files/qemu/qemu-system-i386.exe
CC = $(CROSS_CC_DIR)/i686-elf-gcc
Expand Down Expand Up @@ -53,7 +53,7 @@ qemu: asos.bin
@$(QEMU) -kernel $(DEST_DIR)/asos.bin -no-reboot -monitor stdio

clean:
@rm -rf $(DEST_DIR) $(BUILD_DIR) $(ARCHOBJS) $(KERNOBJS) *.o */*.o */*/*.o */*/*/*.o
@rm -rf $(DEST_DIR) $(ARCHOBJS) $(KERNOBJS) $(shell find $(SRC_DIR)/ -name *.o)

print-%:
@echo $* = $($*)
Expand Down

0 comments on commit 7bd866e

Please sign in to comment.