another build fix for ppc

SVN-Revision: 5682
This commit is contained in:
Felix Fietkau 2006-11-30 18:18:45 +00:00
parent f2d5f3adbd
commit 040bb4800e

View file

@ -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