diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-20 23:17:52 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-20 23:17:52 -0400 |
| commit | 093faa1dd26fc6766f8f04c429030757a8a0def4 (patch) | |
| tree | eeee443b1bed650293f51a49b908f689c1dbb997 | |
| parent | 6ce59b460201c2281c2b6b3ead0b67ab21726268 (diff) | |
| parent | 437374e9a95062fe310b901e48585691edaf5dd0 (diff) | |
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
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | arch/ppc/boot/Makefile | 2 | ||||
| -rw-r--r-- | arch/xtensa/boot/Makefile | 3 | ||||
| -rw-r--r-- | scripts/kconfig/qconf.cc | 4 |
4 files changed, 9 insertions, 2 deletions
| @@ -1505,7 +1505,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files)) | |||
| 1505 | # and we build for the host arch | 1505 | # and we build for the host arch |
| 1506 | quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) | 1506 | quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) |
| 1507 | cmd_depmod = \ | 1507 | 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 \ |
| 1509 | $(DEPMOD) -ae -F System.map \ | 1509 | $(DEPMOD) -ae -F System.map \ |
| 1510 | $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \ | 1510 | $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \ |
| 1511 | $(KERNELRELEASE); \ | 1511 | $(KERNELRELEASE); \ |
diff --git a/arch/ppc/boot/Makefile b/arch/ppc/boot/Makefile index 487dc66dcc74..500497e3c72d 100644 --- a/arch/ppc/boot/Makefile +++ b/arch/ppc/boot/Makefile | |||
| @@ -13,6 +13,8 @@ | |||
| 13 | # modified by Cort (cort@cs.nmt.edu) | 13 | # modified by Cort (cort@cs.nmt.edu) |
| 14 | # | 14 | # |
| 15 | 15 | ||
| 16 | # KBUILD_CFLAGS used when building rest of boot (takes effect recursively) | ||
| 17 | KBUILD_CFLAGS += -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include | ||
| 16 | HOSTCFLAGS += -Iarch/$(ARCH)/boot/include | 18 | HOSTCFLAGS += -Iarch/$(ARCH)/boot/include |
| 17 | 19 | ||
| 18 | BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd | 20 | BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd |
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 9c5185f605b6..40aa55b485be 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile | |||
| @@ -8,7 +8,8 @@ | |||
| 8 | # | 8 | # |
| 9 | 9 | ||
| 10 | 10 | ||
| 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 | ||
| 12 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include | 13 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include |
| 13 | 14 | ||
| 14 | BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") | 15 | BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") |
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index e4eeb59a8c24..b9bb32dfd628 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
| @@ -1274,8 +1274,12 @@ ConfigMainWindow::ConfigMainWindow(void) | |||
| 1274 | QMenuBar* menu; | 1274 | QMenuBar* menu; |
| 1275 | bool ok; | 1275 | bool ok; |
| 1276 | int x, y, width, height; | 1276 | int x, y, width, height; |
| 1277 | char title[256]; | ||
| 1277 | 1278 | ||
| 1278 | QWidget *d = configApp->desktop(); | 1279 | QWidget *d = configApp->desktop(); |
| 1280 | snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"), | ||
| 1281 | getenv("KERNELVERSION")); | ||
| 1282 | setCaption(title); | ||
| 1279 | 1283 | ||
| 1280 | width = configSettings->readNumEntry("/window width", d->width() - 64); | 1284 | width = configSettings->readNumEntry("/window width", d->width() - 64); |
| 1281 | height = configSettings->readNumEntry("/window height", d->height() - 64); | 1285 | height = configSettings->readNumEntry("/window height", d->height() - 64); |
