mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 15:34:43 +02:00
Fixed a bug in the kernel-headers/Makefile introduced by the cris merge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7444 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3ebcfb0dbf
commit
57527ba921
@ -15,8 +15,8 @@ PKG_SOURCE_URL=$(LINUX_SITE)
|
|||||||
|
|
||||||
PKG_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)/linux-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)/linux-$(PKG_VERSION)
|
||||||
|
|
||||||
LINUX_DIR:=$(PKG_BUILD_DIR)/linux-$(LINUX_VERSION)
|
LINUX_DIR:=$(PKG_BUILD_DIR)
|
||||||
KERNEL_BUILD_DIR:=$(PKG_BUILD_DIR)
|
KERNEL_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)
|
||||||
include $(INCLUDE_DIR)/kernel-defaults.mk
|
include $(INCLUDE_DIR)/kernel-defaults.mk
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
@ -39,6 +39,8 @@ endef
|
|||||||
else
|
else
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Kernel/Prepare/Default)
|
$(call Kernel/Prepare/Default)
|
||||||
|
$(SED) 's/@expr length/@-expr length/' $(PKG_BUILD_DIR)/Makefile
|
||||||
|
ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR)
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user