another build fix for ppc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5682 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
a0aae2c8c7
commit
bf1791ea28
|
@ -25,11 +25,16 @@ define Build/Prepare
|
||||||
ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR)
|
ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Configure/powerpc
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/include/asm-powerpc/* $(PKG_BUILD_DIR)/include/asm-ppc/
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
|
yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
ARCH=$(LINUX_KARCH) \
|
ARCH=$(LINUX_KARCH) \
|
||||||
CONFIG_SHELL=$(BASH) \
|
CONFIG_SHELL=$(BASH) \
|
||||||
oldconfig include/linux/version.h include/asm
|
oldconfig include/linux/version.h include/asm
|
||||||
|
$(call Build/Configure/$(ARCH))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
|
Loading…
Reference in New Issue