diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-11-28 03:56:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-11-28 03:56:45 +0000 |
commit | bf8dda030c9a3ea351c40bd74030d4e19ed2290b (patch) | |
tree | 07daefedb69aedb317fbc8d78d444597d84d0db6 | |
parent | 8df9a060033bb3fb379c194f9c97429742146cfe (diff) | |
download | upstream-bf8dda030c9a3ea351c40bd74030d4e19ed2290b.tar.gz upstream-bf8dda030c9a3ea351c40bd74030d4e19ed2290b.tar.bz2 upstream-bf8dda030c9a3ea351c40bd74030d4e19ed2290b.zip |
more cleanup, build fix on freebsd
SVN-Revision: 5666
-rw-r--r-- | include/kernel-build.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 2e6745084b..0d1965a01e 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -93,8 +93,8 @@ endef define Kernel/CompileModules/Default - $(MAKE) -j$(CONFIG_JLEVEL) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" CC="$(KERNEL_CC)" ARCH=$(LINUX_KARCH) modules - $(MAKE) -C "$(LINUX_DIR)" CROSS_COMPILE="$(KERNEL_CROSS)" CC="$(KERNEL_CC)" ARCH=$(LINUX_KARCH) DEPMOD=true INSTALL_MOD_PATH=$(KERNEL_BUILD_DIR)/modules modules_install + $(MAKE) -j$(CONFIG_JLEVEL) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" modules + $(MAKE) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" DEPMOD=true INSTALL_MOD_PATH=$(KERNEL_BUILD_DIR)/modules modules_install endef define Kernel/CompileModules $(call Kernel/CompileModules/Default) @@ -123,7 +123,7 @@ ifeq ($(KERNEL),2.6) endif define Kernel/CompileImage/Default $(call Kernel/SetInitramfs) - $(MAKE) -j$(CONFIG_JLEVEL) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" CC="$(KERNEL_CC)" ARCH=$(LINUX_KARCH) $(KERNELNAME) + $(MAKE) -j$(CONFIG_JLEVEL) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" $(KERNELNAME) $(KERNEL_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL) endef define Kernel/CompileImage |