15-fix-qconf-moc-rule.patch 653 B

123456789101112131415161718192021222324
  1. Fix the rule that generates the .moc file
  2. The Linux kernel has a "cmd" make function, but we don't have it in
  3. Buildroot, so we need to adjust this rule.
  4. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  5. Index: b/Makefile
  6. ===================================================================
  7. --- a/Makefile
  8. +++ b/Makefile
  9. @@ -309,11 +309,8 @@
  10. $(obj)/qconf.o: $(obj)/qconf.moc
  11. -quiet_cmd_moc = MOC $@
  12. - cmd_moc = $(KC_QT_MOC) -i $< -o $@
  13. -
  14. $(obj)/%.moc: $(src)/%.h $(obj)/.tmp_qtcheck
  15. - $(call cmd,moc)
  16. + $(KC_QT_MOC) -i $< -o $@
  17. # Extract gconf menu items for I18N support
  18. $(obj)/gconf.glade.h: $(obj)/gconf.glade