summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/romtool/Makefile2
-rw-r--r--util/romtool/tools/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/romtool/Makefile b/util/romtool/Makefile
index 3ef1748095..291c940a18 100644
--- a/util/romtool/Makefile
+++ b/util/romtool/Makefile
@@ -21,7 +21,7 @@ $(obj)/romtool: $(patsubst %,$(obj)/%,$(OBJ))
tobj = $(obj)/tools
tsrc = $(shell pwd)/tools
-include tools/Makefile
+include $(tsrc)/Makefile
$(obj)/%.o: %.c $(INC)
$(CC) $(CFLAGS) -c -o $@ $<
diff --git a/util/romtool/tools/Makefile b/util/romtool/tools/Makefile
index f5f0df8add..bcecf46636 100644
--- a/util/romtool/tools/Makefile
+++ b/util/romtool/tools/Makefile
@@ -5,7 +5,7 @@ TARGETS += $(tobj)/rom-mkstage $(tobj)/rom-mkpayload
tools: $(tobj)/rom-mkstage $(tobj)/rom-mkpayload
-include $(tobj)/lzma/Makefile
+include $(tsrc)/lzma/Makefile
COMMON = common.o compress.o $(LZMA_OBJ)