diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-perl.mk | 2 | ||||
-rw-r--r-- | rules/build-prog.mk | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/rules/build-perl.mk b/rules/build-perl.mk index a6725bade7..46cf0531e6 100644 --- a/rules/build-perl.mk +++ b/rules/build-perl.mk @@ -24,13 +24,11 @@ $(call profStart, build-perl($1,$2)) # $1 = dir # $2 = distdir -ifneq "$$(CLEANING)" "YES" ifeq "$$($1_$2_PROGNAME)" "" $$(error $1_$2_PROGNAME is not set) endif ifneq "$$($1_$2_PROG)" "" $$(error $1_$2_PROG is set) -endif $1_$2_PROG = $$($1_$2_PROGNAME) ifneq "$$($$($1_$2_PROG)_INPLACE)" "" diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 3e9bc89e29..f2f6ad2551 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -22,14 +22,12 @@ $(call profStart, build-prog($1,$2,$3)) # $2 = distdir # $3 = GHC stage to use (0 == bootstrapping compiler) -ifneq "$$(CLEANING)" "YES" ifeq "$$($1_$2_PROGNAME)" "" $$(error $1_$2_PROGNAME is not set) endif ifneq "$$($1_$2_PROG)" "" $$(error $1_$2_PROG is set) endif -endif $1_$2_PROG = $$($1_$2_PROGNAME)$$(exeext$3) ifeq "$$(findstring $3,0 1 2)" "" @@ -91,11 +89,9 @@ else $1_$2_INPLACE = endif else -ifneq "$$(CLEANING)" "YES" ifneq "$$($$($1_$2_PROGNAME)_INPLACE)" "" $$(error $$($1_$2_PROGNAME)_INPLACE defined twice) endif -endif ifeq "$$($1_$2_TOPDIR)" "YES" $$($1_$2_PROGNAME)_INPLACE = $$(INPLACE_TOPDIR)/$$($1_$2_PROG) else |