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)
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)
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/profile/perf 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)
@$(call make_as_parent, -C tools/apps/busybox clean)
@$(call make_as_parent, -C tools/apps/ipconfig clean)
- @$(call make_as_parent, -C tools/profile/perf clean)
+ @$(call make_as_parent, -C tools/dev-libs/elfutils clean)
+ @$(call make_as_parent, -C tools/dev-util/perf clean)
# Cross Compiler
# =========================================================================