diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -203,11 +203,13 @@ clean-pkg: .PHONY: update define UPDATE $(if $(2), - $(info $(1): $(2)) - $(if $(filter $(2),$($(1)_VERSION)), - , - $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk' - $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)'), + $(if $(filter $(2),$($(1)_IGNORE)), + $(info $(1): $(2) ignored), + $(if $(filter $(2),$($(1)_VERSION)), + $(info $(1): $(2)), + $(info $(1): $(2) NEW) + $(SED) 's/^\([^ ]*_VERSION *:=\).*/\1 $(2)/' -i '$(TOP_DIR)/src/$(1).mk' + $(MAKE) -f '$(MAKEFILE)' 'update-checksum-$(1)')), $(error Unable to update version number: $(1))) endef |