mmu64: for completeness sake, define PML4_REACH (XCC)
[akaros.git] / Makefile
index c35ce4d..e7fe80a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -369,6 +369,9 @@ CFLAGS_KERNEL += -m64 -g
 else
 CFLAGS_KERNEL += -m32 -gstabs
 endif
+ifeq ($(CONFIG_BETTER_BACKTRACE),y)
+CFLAGS_KERNEL += -fno-optimize-sibling-calls
+endif
 
 # TODO: do we need this, or can we rely on the compiler's defines?
 CFLAGS_KERNEL += -D$(ARCH)
@@ -686,14 +689,15 @@ apps-install: $(app-dirs-install)
        @$(call make_as_parent, -C tools/apps/busybox)
        @$(call make_as_parent, -C tools/apps/ipconfig install)
        @$(call make_as_parent, -C tools/dev-libs/elfutils install)
-       @$(call make_as_parent, -C tools/profile/perf install)
+       @$(call make_as_parent, -C tools/dev-util/perf install)
+       @$(call make_as_parent, -C tools/sys-apps/bash install)
 
 PHONY += apps-clean
 apps-clean: $(app-dirs-clean)
        @$(call make_as_parent, -C tools/apps/busybox clean)
        @$(call make_as_parent, -C tools/apps/ipconfig clean)
        @$(call make_as_parent, -C tools/dev-libs/elfutils clean)
-       @$(call make_as_parent, -C tools/profile/perf clean)
+       @$(call make_as_parent, -C tools/dev-util/perf clean)
 
 # Cross Compiler
 # =========================================================================
@@ -731,9 +735,9 @@ xcc-upgrade: xcc
        @$(MAKE) userclean
        @$(MAKE) install-libs
        @$(MAKE) testclean utestclean
-       @$(MAKE) tests utest
        @$(call make_as_parent, apps-clean)
        @$(call make_as_parent, apps-install)
+       @$(MAKE) tests utest
        @$(MAKE) fill-kfs
        @$(MAKE) akaros-kernel