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
This commit is contained in:
Коммит
093faa1dd2
2
Makefile
2
Makefile
|
@ -1505,7 +1505,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files))
|
||||||
# and we build for the host arch
|
# and we build for the host arch
|
||||||
quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
|
quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
|
||||||
cmd_depmod = \
|
cmd_depmod = \
|
||||||
if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" == "$(ARCH)" ]; then \
|
if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" = "$(ARCH)" ]; then \
|
||||||
$(DEPMOD) -ae -F System.map \
|
$(DEPMOD) -ae -F System.map \
|
||||||
$(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \
|
$(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \
|
||||||
$(KERNELRELEASE); \
|
$(KERNELRELEASE); \
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
# modified by Cort (cort@cs.nmt.edu)
|
# modified by Cort (cort@cs.nmt.edu)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
|
||||||
|
KBUILD_CFLAGS += -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include
|
||||||
HOSTCFLAGS += -Iarch/$(ARCH)/boot/include
|
HOSTCFLAGS += -Iarch/$(ARCH)/boot/include
|
||||||
|
|
||||||
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd
|
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
EXTRA_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
|
# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
|
||||||
|
KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
|
||||||
HOSTFLAGS += -Iarch/$(ARCH)/boot/include
|
HOSTFLAGS += -Iarch/$(ARCH)/boot/include
|
||||||
|
|
||||||
BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
|
BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
|
||||||
|
|
|
@ -1274,8 +1274,12 @@ ConfigMainWindow::ConfigMainWindow(void)
|
||||||
QMenuBar* menu;
|
QMenuBar* menu;
|
||||||
bool ok;
|
bool ok;
|
||||||
int x, y, width, height;
|
int x, y, width, height;
|
||||||
|
char title[256];
|
||||||
|
|
||||||
QWidget *d = configApp->desktop();
|
QWidget *d = configApp->desktop();
|
||||||
|
snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"),
|
||||||
|
getenv("KERNELVERSION"));
|
||||||
|
setCaption(title);
|
||||||
|
|
||||||
width = configSettings->readNumEntry("/window width", d->width() - 64);
|
width = configSettings->readNumEntry("/window width", d->width() - 64);
|
||||||
height = configSettings->readNumEntry("/window height", d->height() - 64);
|
height = configSettings->readNumEntry("/window height", d->height() - 64);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче