summaryrefslogtreecommitdiff
path: root/package/uclibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:37:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:37:41 +0200
commitbd8b249679a8250f7f086bde5f187dd9af81beca (patch)
tree76153610e70f5440de753c4976fac133e8bb9afc /package/uclibc/Makefile
parentb9d3aca2cef4df6fcf5d9534e51ecd0797a12688 (diff)
use ADK_TARGET_KARCH for kernel stuff, fix ppc build
Diffstat (limited to 'package/uclibc/Makefile')
-rw-r--r--package/uclibc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index 71c06edfe..505ed4a7b 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -25,10 +25,8 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-# do nothing, uClibc is already build in toolchain directory
do-install:
${INSTALL_DIR} $(IDIR_UCLIBC)/$(ADK_TARGET_LIBC_PATH) $(IDIR_UCLIBC)/etc
- # create timezone file
test -z $(ADK_RUNTIME_TIMEZONE) || \
grep $(ADK_RUNTIME_TIMEZONE) ./files/tz.lst | \
cut -f 2 > $(IDIR_UCLIBC)/etc/TZ
@@ -54,7 +52,7 @@ uclibc-dev-install:
for file in libcrypt libdl libm libresolv libutil; do \
cd $(IDIR_UCLIBC_DEV)/$(ADK_TARGET_LIBC_PATH); ln -sf $$file-$(GIT_VERSION).so $$file.so; \
done
- $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)-$(KERNEL_RELEASE)/linux-$(KERNEL_VERSION) ARCH=$(ADK_TARGET_ARCH) V=1 \
+ $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)-$(KERNEL_RELEASE)/linux-$(KERNEL_VERSION) ARCH=$(ADK_TARGET_KARCH) V=1 \
INSTALL_HDR_PATH=$(IDIR_UCLIBC_DEV)/usr \
headers_install
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/${PKG_NAME}-${PKG_VERSION} \