Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild

Pull kbuild changes from Michal Marek:
- fix for handling dependencies of *-objs targets by Masahiro Yamada
- lots of cleanups in the kbuild machinery, also by Masahiro
- fixes for the kconfig build to use an UTF-8 capable ncurses library
if possible and to build on not-so-standard installs
- some more minor fixes

* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kbuild: Do not reference *-n variables in the Makefile
kbuild: simplify build, clean, modbuiltin shorthands
kbuild: arm: Do not define "comma" twice
kbuild: remove obj-n and lib-n handling
kbuild: remove unnecessary variable initializaions
kbuild: remove unnecessary "obj- := dummy.o" trick
kbuild: handle C=... and M=... after entering into build directory
kbuild: use $(Q) for sub-make target
kbuild: fake the "Entering directory ..." message more simply
kconfig/lxdialog: get ncurses CFLAGS with pkg-config
kconfig: nconfig: fix multi-byte UTF handling
kconfig: lxdialog: fix spelling
kbuild: Make scripts executable
kbuild: remove redundant clean-files from scripts/kconfig/Makefile
kbuild: refactor script/kconfig/Makefile
kbuild: handle the dependency of multi-objs hostprogs appropriately
kbuild: handle multi-objs dependency appropriately

+76 -181
+40 -48
Makefile
··· 10 10 # Comments in this file are targeted only to the developer, do not 11 11 # expect to learn how to build the kernel reading this file. 12 12 13 - # Do not: 14 - # o use make's built-in rules and variables 15 - # (this increases performance and avoids hard-to-debug behaviour); 16 - # o print "Entering directory ..."; 17 - MAKEFLAGS += -rR --no-print-directory 13 + # Do not use make's built-in rules and variables 14 + # (this increases performance and avoids hard-to-debug behaviour); 15 + MAKEFLAGS += -rR 18 16 19 17 # Avoid funny character set dependencies 20 18 unexport LC_ALL ··· 95 97 96 98 export quiet Q KBUILD_VERBOSE 97 99 98 - # Call a source code checker (by default, "sparse") as part of the 99 - # C compilation. 100 - # 101 - # Use 'make C=1' to enable checking of only re-compiled files. 102 - # Use 'make C=2' to enable checking of *all* source files, regardless 103 - # of whether they are re-compiled or not. 104 - # 105 - # See the file "Documentation/sparse.txt" for more details, including 106 - # where to get the "sparse" utility. 107 - 108 - ifeq ("$(origin C)", "command line") 109 - KBUILD_CHECKSRC = $(C) 110 - endif 111 - ifndef KBUILD_CHECKSRC 112 - KBUILD_CHECKSRC = 0 113 - endif 114 - 115 - # Use make M=dir to specify directory of external module to build 116 - # Old syntax make ... SUBDIRS=$PWD is still supported 117 - # Setting the environment variable KBUILD_EXTMOD take precedence 118 - ifdef SUBDIRS 119 - KBUILD_EXTMOD ?= $(SUBDIRS) 120 - endif 121 - 122 - ifeq ("$(origin M)", "command line") 123 - KBUILD_EXTMOD := $(M) 124 - endif 125 - 126 100 # kbuild supports saving output files in a separate directory. 127 101 # To locate output files in a separate directory two syntaxes are supported. 128 102 # In both cases the working directory must be the root of the kernel src. ··· 109 139 # 110 140 # The O= assignment takes precedence over the KBUILD_OUTPUT environment 111 141 # variable. 112 - 113 142 114 143 # KBUILD_SRC is set on invocation of make in OBJ directory 115 144 # KBUILD_SRC is not intended to be used by the regular user (for now) ··· 141 172 $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make 142 173 @: 143 174 144 - # Fake the "Entering directory" message once, so that IDEs/editors are 145 - # able to understand relative filenames. 146 - echodir := @echo 147 - quiet_echodir := @echo 148 - silent_echodir := @: 149 175 sub-make: FORCE 150 - $($(quiet)echodir) "make[1]: Entering directory \`$(KBUILD_OUTPUT)'" 151 - $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \ 152 - KBUILD_SRC=$(CURDIR) \ 153 - KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \ 154 - $(filter-out _all sub-make,$(MAKECMDGOALS)) 176 + $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \ 177 + -f $(CURDIR)/Makefile $(filter-out _all sub-make,$(MAKECMDGOALS)) 155 178 156 179 # Leave processing to above invocation of make 157 180 skip-makefile := 1 ··· 152 191 153 192 # We process the rest of the Makefile if this is the final invocation of make 154 193 ifeq ($(skip-makefile),) 194 + 195 + # Do not print "Entering directory ...", 196 + # but we want to display it when entering to the output directory 197 + # so that IDEs/editors are able to understand relative filenames. 198 + MAKEFLAGS += --no-print-directory 199 + 200 + # Call a source code checker (by default, "sparse") as part of the 201 + # C compilation. 202 + # 203 + # Use 'make C=1' to enable checking of only re-compiled files. 204 + # Use 'make C=2' to enable checking of *all* source files, regardless 205 + # of whether they are re-compiled or not. 206 + # 207 + # See the file "Documentation/sparse.txt" for more details, including 208 + # where to get the "sparse" utility. 209 + 210 + ifeq ("$(origin C)", "command line") 211 + KBUILD_CHECKSRC = $(C) 212 + endif 213 + ifndef KBUILD_CHECKSRC 214 + KBUILD_CHECKSRC = 0 215 + endif 216 + 217 + # Use make M=dir to specify directory of external module to build 218 + # Old syntax make ... SUBDIRS=$PWD is still supported 219 + # Setting the environment variable KBUILD_EXTMOD take precedence 220 + ifdef SUBDIRS 221 + KBUILD_EXTMOD ?= $(SUBDIRS) 222 + endif 223 + 224 + ifeq ("$(origin M)", "command line") 225 + KBUILD_EXTMOD := $(M) 226 + endif 155 227 156 228 # If building an external module we do not care about the all: rule 157 229 # but instead _all depend on modules ··· 883 889 $(net-y) $(net-m) $(libs-y) $(libs-m))) 884 890 885 891 vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \ 886 - $(init-n) $(init-) \ 887 - $(core-n) $(core-) $(drivers-n) $(drivers-) \ 888 - $(net-n) $(net-) $(libs-n) $(libs-)))) 892 + $(init-) $(core-) $(drivers-) $(net-) $(libs-)))) 889 893 890 894 init-y := $(patsubst %/, %/built-in.o, $(init-y)) 891 895 core-y := $(patsubst %/, %/built-in.o, $(core-y)) ··· 1583 1591 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=dir 1584 1592 # Usage: 1585 1593 # $(Q)$(MAKE) $(clean)=dir 1586 - clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj 1594 + clean := -f $(srctree)/scripts/Makefile.clean obj 1587 1595 1588 1596 endif # skip-makefile 1589 1597
-2
arch/arm/Makefile
··· 50 50 LD += -EL 51 51 endif 52 52 53 - comma = , 54 - 55 53 # This selects which instruction set is used. 56 54 # Note that GCC does not numerically define an architecture version 57 55 # macro, but instead defines a whole series of macros which makes
-3
arch/arm/mach-at91/Makefile
··· 3 3 # 4 4 5 5 obj-y := gpio.o setup.o sysirq_mask.o 6 - obj-m := 7 - obj-n := 8 - obj- := 9 6 10 7 obj-$(CONFIG_OLD_IRQ_AT91) += irq.o 11 8 obj-$(CONFIG_OLD_CLK_AT91) += clock.o
-3
arch/arm/mach-ebsa110/Makefile
··· 5 5 # Object file lists. 6 6 7 7 obj-y := core.o io.o leds.o 8 - obj-m := 9 - obj-n := 10 - obj- :=
-3
arch/arm/mach-ep93xx/Makefile
··· 2 2 # Makefile for the linux kernel. 3 3 # 4 4 obj-y := core.o clock.o 5 - obj-m := 6 - obj-n := 7 - obj- := 8 5 9 6 obj-$(CONFIG_EP93XX_DMA) += dma.o 10 7
-5
arch/arm/mach-exynos/Makefile
··· 7 7 8 8 ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 9 9 10 - obj-y := 11 - obj-m := 12 - obj-n := 13 - obj- := 14 - 15 10 # Core 16 11 17 12 obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o
-3
arch/arm/mach-footbridge/Makefile
··· 5 5 # Object file lists. 6 6 7 7 obj-y := common.o dma.o isa-irq.o 8 - obj-m := 9 - obj-n := 10 - obj- := 11 8 12 9 pci-y += dc21285.o 13 10 pci-$(CONFIG_ARCH_CATS) += cats-pci.o
-5
arch/arm/mach-iop13xx/Makefile
··· 1 - obj-y := 2 - obj-m := 3 - obj-n := 4 - obj- := 5 - 6 1 obj-$(CONFIG_ARCH_IOP13XX) += setup.o 7 2 obj-$(CONFIG_ARCH_IOP13XX) += irq.o 8 3 obj-$(CONFIG_ARCH_IOP13XX) += pci.o
-3
arch/arm/mach-iop32x/Makefile
··· 3 3 # 4 4 5 5 obj-y := irq.o 6 - obj-m := 7 - obj-n := 8 - obj- := 9 6 10 7 obj-$(CONFIG_MACH_GLANTANK) += glantank.o 11 8 obj-$(CONFIG_ARCH_IQ80321) += iq80321.o
-3
arch/arm/mach-iop33x/Makefile
··· 3 3 # 4 4 5 5 obj-y := irq.o uart.o 6 - obj-m := 7 - obj-n := 8 - obj- := 9 6 10 7 obj-$(CONFIG_ARCH_IQ80331) += iq80331.o 11 8 obj-$(CONFIG_MACH_IQ80332) += iq80332.o
-3
arch/arm/mach-ks8695/Makefile
··· 4 4 # 5 5 6 6 obj-y := cpu.o irq.o time.o devices.o 7 - obj-m := 8 - obj-n := 9 - obj- := 10 7 11 8 # PCI support is optional 12 9 obj-$(CONFIG_PCI) += pci.o
-4
arch/arm/mach-rpc/Makefile
··· 5 5 # Object file lists. 6 6 7 7 obj-y := dma.o ecard.o fiq.o irq.o riscpc.o time.o 8 - obj-m := 9 - obj-n := 10 - obj- := 11 -
-5
arch/arm/mach-s3c24xx/Makefile
··· 7 7 # 8 8 # Licensed under GPLv2 9 9 10 - obj-y := 11 - obj-m := 12 - obj-n := 13 - obj- := 14 - 15 10 # core 16 11 17 12 obj-y += common.o
-5
arch/arm/mach-s3c64xx/Makefile
··· 5 5 # 6 6 # Licensed under GPLv2 7 7 8 - obj-y := 9 - obj-m := 10 - obj-n := 11 - obj- := 12 - 13 8 # Core 14 9 15 10 obj-y += common.o
-5
arch/arm/mach-s5pv210/Makefile
··· 7 7 8 8 ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 9 9 10 - obj-y := 11 - obj-m := 12 - obj-n := 13 - obj- := 14 - 15 10 # Core 16 11 17 12 obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o
-3
arch/arm/mach-sa1100/Makefile
··· 4 4 5 5 # Common support 6 6 obj-y := clock.o generic.o irq.o time.o #nmi-oopser.o 7 - obj-m := 8 - obj-n := 9 - obj- := 10 7 11 8 # Specific board support 12 9 obj-$(CONFIG_SA1100_ASSABET) += assabet.o
-3
arch/arm/mach-u300/Makefile
··· 3 3 # 4 4 5 5 obj-y := core.o 6 - obj-m := 7 - obj-n := 8 - obj- := 9 6 10 7 obj-$(CONFIG_MACH_U300_SPIDUMMY) += dummyspichip.o 11 8 obj-$(CONFIG_REGULATOR_AB3100) += regulator.o
-6
arch/arm/plat-iop/Makefile
··· 2 2 # Makefile for the linux kernel. 3 3 # 4 4 5 - obj-y := 6 - 7 5 # IOP32X 8 6 obj-$(CONFIG_ARCH_IOP32X) += i2c.o 9 7 obj-$(CONFIG_ARCH_IOP32X) += pci.o ··· 25 27 # IOP13XX 26 28 obj-$(CONFIG_ARCH_IOP13XX) += cp6.o 27 29 obj-$(CONFIG_ARCH_IOP13XX) += time.o 28 - 29 - obj-m := 30 - obj-n := 31 - obj- :=
-3
arch/arm/plat-omap/Makefile
··· 6 6 7 7 # Common support 8 8 obj-y := sram.o dma.o counter_32k.o 9 - obj-m := 10 - obj-n := 11 - obj- := 12 9 13 10 # omap_device support (OMAP2+ only at the moment) 14 11
-5
arch/arm/plat-samsung/Makefile
··· 6 6 7 7 ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include 8 8 9 - obj-y := 10 - obj-m := 11 - obj-n := dummy.o 12 - obj- := 13 - 14 9 # Objects we always build independent of SoC choice 15 10 16 11 obj-y += init.o cpu.o
-2
arch/arm64/Makefile
··· 30 30 LD += -EL 31 31 endif 32 32 33 - comma = , 34 - 35 33 CHECKFLAGS += -D__aarch64__ 36 34 37 35 # Default value
-2
drivers/clk/shmobile/Makefile
··· 7 7 obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o 8 8 obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-div6.o 9 9 obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-mstp.o 10 - # for emply built-in.o 11 - obj-n := dummy
-4
drivers/net/wimax/Makefile
··· 1 - 2 1 obj-$(CONFIG_WIMAX_I2400M) += i2400m/ 3 - 4 - # (from Sam Ravnborg) force kbuild to create built-in.o 5 - obj- := dummy.o
+1 -1
firmware/Makefile
··· 232 232 233 233 # Without this, built-in.o won't be created when it's empty, and the 234 234 # final vmlinux link will fail. 235 - obj-n := dummy 235 + obj- := dummy 236 236 237 237 hostprogs-y := ihex2fw
+2 -2
scripts/Kbuild.include
··· 171 171 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= 172 172 # Usage: 173 173 # $(Q)$(MAKE) $(build)=dir 174 - build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj 174 + build := -f $(srctree)/scripts/Makefile.build obj 175 175 176 176 ### 177 177 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.modbuiltin obj= 178 178 # Usage: 179 179 # $(Q)$(MAKE) $(modbuiltin)=dir 180 - modbuiltin := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.modbuiltin obj 180 + modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj 181 181 182 182 # Prefix -I with $(srctree) if it is not an absolute path. 183 183 # skip if -I has no parameter
+6 -8
scripts/Makefile.build
··· 79 79 80 80 # =========================================================================== 81 81 82 - ifneq ($(strip $(lib-y) $(lib-m) $(lib-n) $(lib-)),) 82 + ifneq ($(strip $(lib-y) $(lib-m) $(lib-)),) 83 83 lib-target := $(obj)/lib.a 84 84 endif 85 85 86 - ifneq ($(strip $(obj-y) $(obj-m) $(obj-n) $(obj-) $(subdir-m) $(lib-target)),) 86 + ifneq ($(strip $(obj-y) $(obj-m) $(obj-) $(subdir-m) $(lib-target)),) 87 87 builtin-target := $(obj)/built-in.o 88 88 endif 89 89 ··· 382 382 quiet_cmd_link_multi-m = LD [M] $@ 383 383 cmd_link_multi-m = $(cmd_link_multi-y) 384 384 385 - # We would rather have a list of rules like 386 - # foo.o: $(foo-objs) 387 - # but that's not so easy, so we rather make all composite objects depend 388 - # on the set of all their parts 389 - $(multi-used-y) : %.o: $(multi-objs-y) FORCE 385 + $(multi-used-y): FORCE 390 386 $(call if_changed,link_multi-y) 387 + $(call multi_depend, $(multi-used-y), .o, -objs -y) 391 388 392 - $(multi-used-m) : %.o: $(multi-objs-m) FORCE 389 + $(multi-used-m): FORCE 393 390 $(call if_changed,link_multi-m) 394 391 @{ echo $(@:.o=.ko); echo $(link_multi_deps); } > $(MODVERDIR)/$(@F:.o=.mod) 392 + $(call multi_depend, $(multi-used-m), .o, -objs -y) 395 393 396 394 targets += $(multi-used-y) $(multi-used-m) 397 395
+2 -4
scripts/Makefile.clean
··· 10 10 # Shorthand for $(Q)$(MAKE) scripts/Makefile.clean obj=dir 11 11 # Usage: 12 12 # $(Q)$(MAKE) $(clean)=dir 13 - clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj 13 + clean := -f $(srctree)/scripts/Makefile.clean obj 14 14 15 15 # The filename Kbuild has precedence over Makefile 16 16 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) ··· 23 23 subdir-y += $(__subdir-y) 24 24 __subdir-m := $(patsubst %/,%,$(filter %/, $(obj-m))) 25 25 subdir-m += $(__subdir-m) 26 - __subdir-n := $(patsubst %/,%,$(filter %/, $(obj-n))) 27 - subdir-n += $(__subdir-n) 28 26 __subdir- := $(patsubst %/,%,$(filter %/, $(obj-))) 29 27 subdir- += $(__subdir-) 30 28 31 29 # Subdirectories we need to descend into 32 30 33 31 subdir-ym := $(sort $(subdir-y) $(subdir-m)) 34 - subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-)) 32 + subdir-ymn := $(sort $(subdir-ym) $(subdir-)) 35 33 36 34 # Add subdir path 37 35
+1 -1
scripts/Makefile.fwinst
··· 2 2 # Installing firmware 3 3 # 4 4 # We don't include the .config, so all firmware files are in $(fw-shipped-) 5 - # rather than in $(fw-shipped-y) or $(fw-shipped-n). 5 + # rather than in $(fw-shipped-y) or $(fw-shipped-m). 6 6 # ========================================================================== 7 7 8 8 INSTALL := install
+4 -2
scripts/Makefile.host
··· 96 96 cmd_host-cmulti = $(HOSTCC) $(HOSTLDFLAGS) -o $@ \ 97 97 $(addprefix $(obj)/,$($(@F)-objs)) \ 98 98 $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) 99 - $(host-cmulti): $(obj)/%: $(host-cobjs) FORCE 99 + $(host-cmulti): FORCE 100 100 $(call if_changed,host-cmulti) 101 + $(call multi_depend, $(host-cmulti), , -objs) 101 102 102 103 # Create .o file from a single .c file 103 104 # host-cobjs -> .o ··· 114 113 $(foreach o,objs cxxobjs,\ 115 114 $(addprefix $(obj)/,$($(@F)-$(o)))) \ 116 115 $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) 117 - $(host-cxxmulti): $(obj)/%: $(host-cobjs) $(host-cxxobjs) FORCE 116 + $(host-cxxmulti): FORCE 118 117 $(call if_changed,host-cxxmulti) 118 + $(call multi_depend, $(host-cxxmulti), , -objs -cxxobjs) 119 119 120 120 # Create .o file from a single .cc (C++) file 121 121 quiet_cmd_host-cxxobjs = HOSTCXX $@
+9
scripts/Makefile.lib
··· 159 159 modname-multi = $(sort $(foreach m,$(multi-used),\ 160 160 $(if $(filter $(subst $(obj)/,,$*.o), $($(m:.o=-objs)) $($(m:.o=-y))),$(m:.o=)))) 161 161 162 + # Useful for describing the dependency of composite objects 163 + # Usage: 164 + # $(call multi_depend, multi_used_targets, suffix_to_remove, suffix_to_add) 165 + define multi_depend 166 + $(foreach m, $(notdir $1), \ 167 + $(eval $(obj)/$m: \ 168 + $(addprefix $(obj)/, $(foreach s, $3, $($(m:%$(strip $2)=%$(s))))))) 169 + endef 170 + 162 171 ifdef REGENERATE_PARSERS 163 172 164 173 # GPERF
scripts/bootgraph.pl
scripts/export_report.pl
scripts/gcc-goto.sh
scripts/gcc-ld
scripts/gcc-version.sh
scripts/gcc-x86_32-has-stack-protector.sh
scripts/gcc-x86_64-has-stack-protector.sh
scripts/gen_initramfs_list.sh
scripts/headers_check.pl
scripts/headers_install.sh
+5 -33
scripts/kconfig/Makefile
··· 176 176 qconf-objs := zconf.tab.o 177 177 gconf-objs := gconf.o zconf.tab.o 178 178 179 - hostprogs-y := conf 180 - 181 - ifeq ($(MAKECMDGOALS),nconfig) 182 - hostprogs-y += nconf 183 - endif 184 - 185 - ifeq ($(MAKECMDGOALS),menuconfig) 186 - hostprogs-y += mconf 187 - endif 188 - 189 - ifeq ($(MAKECMDGOALS),update-po-config) 190 - hostprogs-y += kxgettext 191 - endif 192 - 193 - ifeq ($(MAKECMDGOALS),xconfig) 194 - qconf-target := 1 195 - endif 196 - ifeq ($(MAKECMDGOALS),gconfig) 197 - gconf-target := 1 198 - endif 199 - 200 - 201 - ifeq ($(qconf-target),1) 202 - hostprogs-y += qconf 203 - endif 204 - 205 - ifeq ($(gconf-target),1) 206 - hostprogs-y += gconf 207 - endif 179 + hostprogs-y := conf nconf mconf kxgettext qconf gconf 208 180 209 181 clean-files := qconf.moc .tmp_qtcheck .tmp_gtkcheck 210 182 clean-files += zconf.tab.c zconf.lex.c zconf.hash.c gconf.glade.h 211 - clean-files += mconf qconf gconf nconf 212 183 clean-files += config.pot linux.pot 213 184 214 185 # Check that we have the required ncurses stuff installed for lxdialog (menuconfig) ··· 210 239 HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) 211 240 212 241 HOSTLOADLIBES_nconf = $(shell \ 213 - pkg-config --libs menu panel ncurses 2>/dev/null \ 242 + pkg-config --libs menuw panelw ncursesw 2>/dev/null \ 243 + || pkg-config --libs menu panel ncurses 2>/dev/null \ 214 244 || echo "-lmenu -lpanel -lncurses" ) 215 245 $(obj)/qconf.o: $(obj)/.tmp_qtcheck 216 246 217 - ifeq ($(qconf-target),1) 247 + ifeq ($(MAKECMDGOALS),xconfig) 218 248 $(obj)/.tmp_qtcheck: $(src)/Makefile 219 249 -include $(obj)/.tmp_qtcheck 220 250 ··· 272 300 273 301 $(obj)/gconf.o: $(obj)/.tmp_gtkcheck 274 302 275 - ifeq ($(gconf-target),1) 303 + ifeq ($(MAKECMDGOALS),gconfig) 276 304 -include $(obj)/.tmp_gtkcheck 277 305 278 306 # GTK needs some extra effort, too...
+5 -1
scripts/kconfig/lxdialog/check-lxdialog.sh
··· 21 21 # Where is ncurses.h? 22 22 ccflags() 23 23 { 24 - if [ -f /usr/include/ncursesw/curses.h ]; then 24 + if pkg-config --cflags ncursesw 2>/dev/null; then 25 + echo '-DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1' 26 + elif pkg-config --cflags ncurses 2>/dev/null; then 27 + echo '-DCURSES_LOC="<ncurses.h>"' 28 + elif [ -f /usr/include/ncursesw/curses.h ]; then 25 29 echo '-I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"' 26 30 echo ' -DNCURSES_WIDECHAR=1' 27 31 elif [ -f /usr/include/ncurses/ncurses.h ]; then
+1 -1
scripts/kconfig/lxdialog/dialog.h
··· 170 170 /* item list manipulation for lxdialog use */ 171 171 #define MAXITEMSTR 200 172 172 struct dialog_item { 173 - char str[MAXITEMSTR]; /* promtp displayed */ 173 + char str[MAXITEMSTR]; /* prompt displayed */ 174 174 char tag; 175 175 void *data; /* pointer to menu item - used by menubox+checklist */ 176 176 int selected; /* Set to 1 by dialog_*() function if selected. */
scripts/kconfig/streamline_config.pl
scripts/markup_oops.pl
scripts/mkmakefile
scripts/mksysmap
scripts/package/builddeb
scripts/package/buildtar
scripts/profile2linkerlist.pl
scripts/rt-tester/rt-tester.py
scripts/selinux/install_policy.sh
scripts/tracing/draw_functrace.py
scripts/xz_wrap.sh