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