aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e87c2c8a3b..56cab7b55f 100644
--- a/Makefile
+++ b/Makefile
@@ -219,6 +219,9 @@ printall:
@echo alldirs:=$(alldirs)
@echo allsrc=$(allsrc)
+printcrt0s:
+ @echo $(patsubst $(top)/%,%,$(crt0s))
+
OBJS := $(patsubst %,$(obj)/%,$(TARGETS-y))
INCLUDES := -I$(top)/src -I$(top)/src/include -I$(obj) -I$(top)/src/arch/$(ARCHDIR-y)/include
INCLUDES += -I$(shell $(CC) -print-search-dirs | head -n 1 | cut -d' ' -f2)include