BuildSystem: Allow make clean all again.

ASTERISK-27600
Reported by: Hamid R. Hashmi

Change-Id: I683d14d024650be04074b037b6300464519409f4
This commit is contained in:
Alexander Traud 2018-01-19 19:14:53 +01:00
parent 51313e304e
commit 70137794e9
1 changed files with 5 additions and 2 deletions

View File

@ -104,8 +104,11 @@ export PATCH
export SED
export NM
# makeopts is required unless the goal is clean or distclean
ifeq ($(findstring clean,$(MAKECMDGOALS)),)
# makeopts is required unless the goal is just {dist{-}}clean
ifeq ($(MAKECMDGOALS),clean)
else ifeq ($(MAKECMDGOALS),distclean)
else ifeq ($(MAKECMDGOALS),dist-clean)
else
include makeopts
endif