diff options
author | Andrew Cady <d@jerkface.net> | 2019-06-26 16:29:48 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-06-26 16:29:48 -0400 |
commit | 83d4c973926519f5c4b4202821b5ab805988d877 (patch) | |
tree | 83669dbc723e121cb68fd8b55ffdbdd45fa17e26 /Makefile | |
parent | 07accc3f94e74361f884f2c29556c9104f9da332 (diff) |
make sure we have fsmgr source before trying to build fsmgr
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ isolinux_files:=$(wildcard isolinux/*) | |||
29 | clean: | 29 | clean: |
30 | rm -f samizdat-paths.sh ${compiled_programs} | 30 | rm -f samizdat-paths.sh ${compiled_programs} |
31 | 31 | ||
32 | .PHONY: samizdat-paths.sh all clean | 32 | .PHONY: all clean |
33 | samizdat-paths.sh: src/samizdat-paths.in | 33 | samizdat-paths.sh: src/samizdat-paths.in |
34 | @sed -e "s?PREFIX?$(prefix)?g" $< > $@ | 34 | @sed -e "s?PREFIX?$(prefix)?g" $< > $@ |
35 | include samizdat-paths.sh | 35 | include samizdat-paths.sh |
@@ -52,7 +52,7 @@ include user.mk | |||
52 | 52 | ||
53 | .PHONY: rootfs | 53 | .PHONY: rootfs |
54 | rootfs: | 54 | rootfs: |
55 | : git submodule update | 55 | [ -e fsmgr/Makefile ] || git submodule update --init |
56 | $(MAKE) -C fsmgr | 56 | $(MAKE) -C fsmgr |
57 | $(MAKE) -C fsmgr install | 57 | $(MAKE) -C fsmgr install |
58 | $(MAKE) -C rootfs | 58 | $(MAKE) -C rootfs |