aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2020-05-12 12:33:15 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2020-05-14 17:11:53 +1000
commit85e5d839847af54efab170f2b1331b2a6421e647 (patch)
tree7c31b3e17045129ca800d6425599b89b1490060c /Makefile
parentb28464a550c536296439b5785ed8852d1e15b35b (diff)
downloaddtc-85e5d839847af54efab170f2b1331b2a6421e647.zip
dtc-85e5d839847af54efab170f2b1331b2a6421e647.tar.gz
dtc-85e5d839847af54efab170f2b1331b2a6421e647.tar.bz2
Makefile: when building libfdt only, do not add unneeded deps
implemented originally for the QEMU consumer of libfdt. Signed-off-by: Claudio Fontana <cfontana@suse.de> Message-Id: <20200512103315.1926-1-cfontana@suse.de> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f02aa19..cb256e8 100644
--- a/Makefile
+++ b/Makefile
@@ -176,6 +176,7 @@ endif
ifneq ($(DEPTARGETS),)
+ifneq ($(MAKECMDGOALS),libfdt)
-include $(DTC_OBJS:%.o=%.d)
-include $(CONVERT_OBJS:%.o=%.d)
-include $(FDTDUMP_OBJS:%.o=%.d)
@@ -183,6 +184,7 @@ ifneq ($(DEPTARGETS),)
-include $(FDTPUT_OBJS:%.o=%.d)
-include $(FDTOVERLAY_OBJS:%.o=%.d)
endif
+endif
@@ -318,7 +320,9 @@ ifeq ($(NO_PYTHON),0)
TESTS_PYLIBFDT += maybe_pylibfdt
endif
+ifneq ($(MAKECMDGOALS),libfdt)
include tests/Makefile.tests
+endif
#
# Clean rules