equal
deleted
inserted
replaced
262 endif |
262 endif |
263 |
263 |
264 # Sanity check the spec file, so it matches this source code |
264 # Sanity check the spec file, so it matches this source code |
265 define CheckSpecSanity |
265 define CheckSpecSanity |
266 ifneq ($$(topdir), $$(TOPDIR)) |
266 ifneq ($$(topdir), $$(TOPDIR)) |
267 $$(info Error: SPEC mismatch. $$$$(TOPDIR) does not match current directory.) |
267 ifneq ($$(topdir), $$(ORIGINAL_TOPDIR)) |
268 $$(error Cannot continue) |
268 ifneq ($$(topdir), $$(CANONICAL_TOPDIR)) |
|
269 $$(info Error: SPEC mismatch! Current working directory) |
|
270 $$(info $$(topdir)) |
|
271 $$(info does not match either TOPDIR, ORIGINAL_TOPDIR or CANONICAL_TOPDIR) |
|
272 $$(info $$(TOPDIR)) |
|
273 $$(info $$(ORIGINAL_TOPDIR)) |
|
274 $$(info $$(CANONICAL_TOPDIR)) |
|
275 $$(error Cannot continue) |
|
276 endif |
|
277 endif |
269 endif |
278 endif |
270 endef |
279 endef |
271 |
280 |
272 define RotateLogFiles |
281 define RotateLogFiles |
273 $(RM) $(BUILD_LOG).old 2> /dev/null |
282 $(RM) $(BUILD_LOG).old 2> /dev/null |