diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-26 22:44:45 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-26 22:44:45 +0100 |
| commit | b0ea42e4a95478197d4d7e73791dae012cda6a4a (patch) | |
| tree | 974ff04c0100467bf6ca420bc7d15e015231598d /Makefile | |
| parent | 053f93edecf6aa02ec29366621adf2de6522cdf3 (diff) | |
| download | fbos-b0ea42e4a95478197d4d7e73791dae012cda6a4a.tar.gz fbos-b0ea42e4a95478197d4d7e73791dae012cda6a4a.zip | |
Move initrd.c into lib
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à <mikisabate@gmail.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 $@ |
