summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Makefile6
-rw-r--r--init/init.obin1672 -> 0 bytes
2 files changed, 3 insertions, 3 deletions
diff --git a/init/Makefile b/init/Makefile
index 53a64ea..fae06bf 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -1,11 +1,11 @@
CC = gcc
CFLAGS =
LDFLAGS = --static
-OUTPUT = init.elf
+OUTPUT = init
SRC = init.c
-build: init.o
+build:
$(CC) $(CFLAGS) $(SRC) $(LDFLAGS) -o $(OUTPUT)
.PHONY: copy clean
@@ -14,4 +14,4 @@ clean:
rm -df $(OUTPUT)
copy:
- objcopy -O binary $(OUTPUT) ../root/init
+ cp $(OUTPUT) ../root/init
diff --git a/init/init.o b/init/init.o
deleted file mode 100644
index 6a8fc22..0000000
--- a/init/init.o
+++ /dev/null
Binary files differ