From: Felix Fietkau Date: Thu, 30 Nov 2006 18:18:45 +0000 (+0000) Subject: another build fix for ppc X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=040bb4800e52154d0b06e392cb13a48be3d4821d;p=librecmc%2Flibrecmc.git another build fix for ppc SVN-Revision: 5682 --- diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 0ed455e154..4cd0199e78 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -25,11 +25,16 @@ define Build/Prepare ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR) endef +define Build/Configure/powerpc + $(CP) $(PKG_BUILD_DIR)/include/asm-powerpc/* $(PKG_BUILD_DIR)/include/asm-ppc/ +endef + define Build/Configure yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \ ARCH=$(LINUX_KARCH) \ CONFIG_SHELL=$(BASH) \ oldconfig include/linux/version.h include/asm + $(call Build/Configure/$(ARCH)) endef define Build/Compile