mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
minor cleanup and freebsd compile fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5654 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -70,14 +70,18 @@ define Kernel/Prepare
|
|||||||
$(call Kernel/Prepare/Default)
|
$(call Kernel/Prepare/Default)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
KERNEL_MAKEOPTS := -C $(LINUX_DIR) \
|
||||||
|
CROSS_COMPILE="$(KERNEL_CROSS)" \
|
||||||
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CONFIG_SHELL="$(BASH)"
|
||||||
|
|
||||||
define Kernel/Configure/2.4
|
define Kernel/Configure/2.4
|
||||||
$(SED) "s,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile
|
$(SED) "s,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile
|
||||||
$(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" CC="$(KERNEL_CC)" ARCH=$(LINUX_KARCH) oldconfig include/linux/compile.h include/linux/version.h
|
$(MAKE) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" oldconfig include/linux/compile.h include/linux/version.h
|
||||||
$(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" ARCH=$(LINUX_KARCH) dep
|
$(MAKE) $(KERNEL_MAKEOPTS) dep
|
||||||
endef
|
endef
|
||||||
define Kernel/Configure/2.6
|
define Kernel/Configure/2.6
|
||||||
$(MAKE) -C $(LINUX_DIR) CROSS_COMPILE="$(KERNEL_CROSS)" CC="$(KERNEL_CC)" ARCH=$(LINUX_KARCH) oldconfig prepare scripts
|
$(MAKE) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" oldconfig prepare scripts
|
||||||
endef
|
endef
|
||||||
define Kernel/Configure/Default
|
define Kernel/Configure/Default
|
||||||
@$(CP) $(LINUX_CONFIG) $(LINUX_DIR)/.config
|
@$(CP) $(LINUX_CONFIG) $(LINUX_DIR)/.config
|
||||||
|
|||||||
Reference in New Issue
Block a user