X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/267cc36546d4741ed2b1bf63f6cae18bbfa3b2e2..59d8027541e6c38150ea5d29f73b49476fd89ea7:/rules.mk?ds=sidebyside diff --git a/rules.mk b/rules.mk index a6188f4a6..6fbf88f80 100644 --- a/rules.mk +++ b/rules.mk @@ -5,7 +5,9 @@ # See /LICENSE for more information. # --include $(TOPDIR)/.config +ifeq ($(DUMP),) + -include $(TOPDIR)/.config +endif include $(TOPDIR)/include/verbose.mk export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' -- @@ -83,7 +85,9 @@ TARGET_CONFIGURE_OPTS:= \ CXX=$(TARGET_CROSS)g++ \ RANLIB=$(TARGET_CROSS)ranlib \ STRIP=$(TARGET_CROSS)strip \ - OBJCOPY=$(TARGET_CROSS)objcopy + OBJCOPY=$(TARGET_CROSS)objcopy \ + OBJDUMP=$(TARGET_CROSS)objdump \ + SIZE=$(TARGET_CROSS)size # strip an entire directory RSTRIP:= \ @@ -130,7 +134,6 @@ $(call shvar,$(1))=$$(call $(1)) export $(call shvar,$(1)) endef - all: FORCE: ; .PHONY: FORCE