Skip to content

Commit 093faa1

Browse files
author
Linus Torvalds
committed
Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: kbuild: restore arch/{ppc/xtensa}/boot cflags kconfig: set title bar in xconfig kbuild: fix toplevel Makefile/depmod
2 parents 6ce59b4 + 437374e commit 093faa1

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files))
15051505
# and we build for the host arch
15061506
quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
15071507
cmd_depmod = \
1508-
if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" == "$(ARCH)" ]; then \
1508+
if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" = "$(ARCH)" ]; then \
15091509
$(DEPMOD) -ae -F System.map \
15101510
$(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \
15111511
$(KERNELRELEASE); \

‎arch/ppc/boot/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# modified by Cort (cort@cs.nmt.edu)
1414
#
1515

16+
# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
17+
KBUILD_CFLAGS += -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include
1618
HOSTCFLAGS += -Iarch/$(ARCH)/boot/include
1719

1820
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd

‎arch/xtensa/boot/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#
99

1010

11-
EXTRA_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
11+
# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
12+
KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
1213
HOSTFLAGS += -Iarch/$(ARCH)/boot/include
1314

1415
BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")

‎scripts/kconfig/qconf.cc‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,8 +1274,12 @@ ConfigMainWindow::ConfigMainWindow(void)
12741274
QMenuBar* menu;
12751275
bool ok;
12761276
int x, y, width, height;
1277+
char title[256];
12771278

12781279
QWidget *d = configApp->desktop();
1280+
snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"),
1281+
getenv("KERNELVERSION"));
1282+
setCaption(title);
12791283

12801284
width = configSettings->readNumEntry("/window width", d->width() - 64);
12811285
height = configSettings->readNumEntry("/window height", d->height() - 64);

0 commit comments

Comments
 (0)