Skip to content

Commit

Permalink
Move initrd.c into lib
Browse files Browse the repository at this point in the history
Even if it's tightly coupled with the kernel (e.g. identifying specific
tasks from the kernel), in the end it's a library and so it should be
placed accordingly.

Signed-off-by: Miquel Sabaté Solà <[email protected]>
  • Loading branch information
mssola committed Nov 26, 2024
1 parent 053f93e commit b0ea42e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ test: host_lib usr $(TESTS)
host_lib:
$(Q) mkdir -p test/lib
$(Q) $(HOSTCC) $(WARNINGS) -Iinclude/ -g -c lib/dt.c -o test/lib/dt.o
$(Q) $(HOSTCC) $(WARNINGS) -Iinclude/ -g -c kernel/initrd.c -o test/lib/initrd.o
$(Q) $(HOSTCC) $(WARNINGS) -Iinclude/ -g -c lib/initrd.c -o test/lib/initrd.o

test/%.o: test/%.c
$(Q) $(HOSTCC) $(WARNINGS) -g -Iinclude/ -c $< -o $@
Expand Down
File renamed without changes.

0 comments on commit b0ea42e

Please sign in to comment.