1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:56:14 +02:00

fix up the asm includes location for .27 when building kernel headers

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12802 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-09-29 18:09:24 +00:00
parent 086679e426
commit a860e07cba

View File

@ -53,6 +53,11 @@ define Build/Prepare
ln -sf linux-$(LINUX_VERSION) $(LINUX_HEADERS_DIR) ln -sf linux-$(LINUX_VERSION) $(LINUX_HEADERS_DIR)
yes '' | $(KMAKE) oldconfig yes '' | $(KMAKE) oldconfig
$(KMAKE) include/linux/version.h include/asm $(KMAKE) include/linux/version.h include/asm
if [ -d $(PKG_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \
$(CP) \
$(PKG_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \
$(PKG_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \
fi
$(call Build/Configure/$(ARCH)) $(call Build/Configure/$(ARCH))
endef endef