another build fix for ppc
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 30 Nov 2006 18:18:45 +0000 (18:18 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 30 Nov 2006 18:18:45 +0000 (18:18 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5682 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/kernel-headers/Makefile

index 0ed455e..4cd0199 100644 (file)
@@ -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
This page took 0.023715 seconds and 4 git commands to generate.