aboutsummaryrefslogtreecommitdiffstats
path: root/tools/sstrip/Makefile
Commit message (Expand)AuthorAgeFilesLines
* tools: remove static linking supportJo-Philipp Wich2015-02-061-1/+1
* tools/sstrip: remove redundant -I flag that breaks build on some x86_64 linux...Felix Fietkau2012-12-021-1/+1
* sstrip: remove a redundant copy of elf.hFelix Fietkau2012-12-021-1/+1
* use HOST_STATIC_LINKING instead of hardcoding -staticJo-Philipp Wich2012-08-121-1/+1
* sstrip: link staticallyJo-Philipp Wich2012-08-101-2/+2
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-1/+1
* Revert "[tools] sstrip: Correct include path to really get endian.h" (#8447)Florian Fainelli2010-12-121-1/+1
* sstrip: Correct include path to really get endian.hDaniel Dickinson2010-12-121-1/+1
* build system refactoring in preparation for allowing packages to do host-buil...Felix Fietkau2009-02-221-5/+5
* fix sstrip compile on mac os xFelix Fietkau2007-12-021-1/+1
* build system cleanup/restructuring as described in http://lists.openwrt.org/p...Felix Fietkau2007-08-071-11/+3
* host-build.mk used incorrectlyMike Baker2007-05-101-1/+2
* fix missing PKG_NAMEFelix Fietkau2006-12-061-0/+1
* cleanupFelix Fietkau2006-10-141-0/+1
* finally move buildroot-ng to trunkFelix Fietkau2016-03-201-0/+30
iable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2007-2020 OpenWrt.org

# debug flags:
#
# d: show subdirectory tree
# t: show added targets
# l: show legacy targets
# r: show autorebuild messages
# v: verbose (no .SILENCE for common targets)

ifeq ($(DUMP),)
  ifeq ($(DEBUG),all)
    build_debug:=dltvr
  else
    build_debug:=$(DEBUG)
  endif
endif

ifneq ($(DEBUG),)

define debug
$$(findstring $(2),$$(if $$(DEBUG_SCOPE_DIR),$$(if $$(filter $$(DEBUG_SCOPE_DIR)%,$(1)),$(build_debug)),$(build_debug)))
endef

define warn
$$(if $(call debug,$(1),$(2)),$$(warning $(3)))
endef

define debug_eval
$$(if $(call debug,$(1),$(2)),$(3))
endef

define warn_eval
$(call warn,$(1),$(2),$(3)	$(4))
$(4)
endef

else

debug:=
warn:=
debug_eval:=
warn_eval = $(4)

endif