Clean up smp_idle's stack jumping
[akaros.git] / Makefile
index cf34227..12fe6c3 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)
@@ -687,6 +690,7 @@ apps-install: $(app-dirs-install)
        @$(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/dev-util/perf install)
+       @$(call make_as_parent, -C tools/sys-apps/bash install)
 
 PHONY += apps-clean
 apps-clean: $(app-dirs-clean)