aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/init/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-04 21:42:37 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-05 16:02:51 +0100
commitf463d544793ff83efd8b95d0bce5ec80fd8170f3 (patch)
tree9dc6cfe5d5d9a5abb9bbe1ba401dc22308c7649e /arch/riscv/init/Makefile
parentbab3fdfd61b3488e1879bc3e53ac17f41d2e8b67 (diff)
downloadfarga-f463d544793ff83efd8b95d0bce5ec80fd8170f3.tar.gz
farga-f463d544793ff83efd8b95d0bce5ec80fd8170f3.zip
Remove old test code
There is some code that I had there after messing with some of the topics on Uros' blog (https://popovicu.com/), but that became irrelevant after working on some other projects (e.g. fbos) or on other examples. This commit also brings about a major overhaul on the structure of the project. Hopefully it's now at a more ready state. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'arch/riscv/init/Makefile')
-rw-r--r--arch/riscv/init/Makefile21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/riscv/init/Makefile b/arch/riscv/init/Makefile
deleted file mode 100644
index 71405c3..0000000
--- a/arch/riscv/init/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-CROSS_CC ?= riscv64-suse-linux-gcc
-CROSS_LD ?= riscv64-suse-linux-ld
-CCFLAGS = -static
-
-##
-# Targets
-
-.PHONY: hello
-hello: clean
- $(CROSS_CC) $(CCFLAGS) -o init hello.c
- cpio -o -H newc < file_list.txt > initramfs.cpio
-
-.PHONY: shell
-shell: clean
- $(CROSS_CC) $(CCFLAGS) -o init shell.c
- GOOS=linux GOARCH=riscv64 go build little_shell.go
- cpio -o -H newc < file_list.txt > initramfs.cpio
-
-.PHONY: clean
-clean:
- @rm -f *.o init initramfs.cpio