History

Backmerge tag 'v4.11-rc6' into drm-next

Linux 4.11-rc6 drm-misc needs 4.11-rc5, may as well fix conflicts with rc6.

Dave Airlie committed 9 years ago

Commit b769fef2 parents 1420f63 39da7c5476 files · +6926 −2824Browse files

Showing the changes to scripts (3 of 476 files). Show all

Unified · Split

3 files
  1. scripts/Kbuild.include +4 −0
  2. scripts/Makefile.lib +1 −1
  3. scripts/kconfig/gconf.c +1 −1
scripts/Kbuild.include+4−0
@@ -148,6 +148,10 @@ cc-fullversion = $(shell $(CONFIG_SHELL) \ · 147 unmodified lines
148148 # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
149149 cc-ifversion = $(shell [ $(cc-version) $(1) $(2) ] && echo $(3) || echo $(4))
150150
151+# cc-if-fullversion
152+# Usage: EXTRA_CFLAGS += $(call cc-if-fullversion, -lt, 040502, -O1)
153+cc-if-fullversion = $(shell [ $(cc-fullversion) $(1) $(2) ] && echo $(3) || echo $(4))
154+
151155 # cc-ldoption
152156 # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
153157 cc-ldoption = $(call try-run,\
scripts/Makefile.lib+1−1
@@ -155,7 +155,7 @@ else · 154 unmodified lines
155155 # $(call addtree,-I$(obj)) locates .h files in srctree, from generated .c files
156156 # and locates generated .h files
157157 # FIXME: Replace both with specific CFLAGS* statements in the makefiles
158−__c_flags = $(if $(obj),-I$(srctree)/$(src) -I$(obj)) \
158+__c_flags = $(if $(obj),$(call addtree,-I$(src)) -I$(obj)) \
159159 $(call flags,_c_flags)
160160 __a_flags = $(call flags,_a_flags)
161161 __cpp_flags = $(call flags,_cpp_flags)
scripts/kconfig/gconf.c+1−1
@@ -914,7 +914,7 @@ on_treeview2_button_press_event(GtkWidget * widget, · 913 unmodified lines
914914 current = menu;
915915 display_tree_part();
916916 gtk_widget_set_sensitive(back_btn, TRUE);
917− } else if ((col == COL_OPTION)) {
917+ } else if (col == COL_OPTION) {
918918 toggle_sym_value(menu);
919919 gtk_tree_view_expand_row(view, path, TRUE);
920920 }