Fix wonky tail queue swap in condition variables code.
[akaros.git] / Makefile
index 1f6e62c..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)
@@ -539,6 +542,7 @@ $(ext2_bdev_obj): $(ext2-bdev)
 quiet_cmd_link-akaros = LINK    $@
       cmd_link-akaros = $(CONFIG_SHELL) scripts/link-kernel.sh $@ \
                         kern/arch/$(ARCH)/$(KERNEL_LD) $(LDFLAGS_KERNEL) \
+                        --build-id=sha1 \
                         $(akaros-deps) $(gcc-lib) $(kern_cpio_obj) \
                         $(ext2_bdev_obj); \
                         $(ARCH_POST_LINK_CMD)
@@ -685,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
 # =========================================================================