Skip to contentSkip to conversation

Makefile: install gtk message catalogs if CONFIG_GTK=y too, not only =m

PATCH Applied Michael Tokarev 3 participants 3 messages Apr 16, 2018 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Makefile: install gtk message catalogs if CONFIG_GTK=y too, not only =m

Fixes 722cd7496474cebb2218f21e038592fad8603365

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 727ef118f3..d71dd5bea4 100644
@@ -856,7 +856,7 @@ ifneq ($(BLOBS),)
 		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(qemu_datadir)"; \
 	done
 endif
-ifeq ($(CONFIG_GTK),m)
+ifdef CONFIG_GTK
 	$(MAKE) -C po $@
 endif
 	$(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
Signature · 1 line
2.11.0
Reviewed-by Tested-by on v2 1/1
#1 lore raw
Quoted 3 lines · Michael Tokarev

Fixes 722cd7496474cebb2218f21e038592fad8603365

Quoted 18 lines
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 727ef118f3..d71dd5bea4 100644
@@ -856,7 +856,7 @@ ifneq ($(BLOBS),)
 		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(qemu_datadir)"; \
 	done
 endif
-ifeq ($(CONFIG_GTK),m)
+ifdef CONFIG_GTK
 	$(MAKE) -C po $@
 endif
 	$(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
#2 lore raw
In reply to Michael Tokarev
Quoted 21 lines · Michael Tokarev

Fixes 722cd7496474cebb2218f21e038592fad8603365

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -2
index 727ef118f3..d71dd5bea4 100644
@@ -856,7 +856,7 @@ ifneq ($(BLOBS),)
                $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(qemu_datadir)"; \
        done
 endif
-ifeq ($(CONFIG_GTK),m)
+ifdef CONFIG_GTK
        $(MAKE) -C po $@
 endif
        $(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
--
Quoted 1 line

2.11.0

Applied, thanks.

-- PMM