diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/image.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/image.mk b/mk/image.mk index 8ce4dbf0b..b432a32ce 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -51,9 +51,13 @@ image-prepare-post: -rm -f ${TARGET_DIR}/bin/sh ln -sf ${BINSH} ${TARGET_DIR}/bin/sh ifeq ($(ADK_TARGET_WITH_MULTILIB),y) + # multilib fixup lib dirs mv ${TARGET_DIR}/lib/* ${TARGET_DIR}/${ADK_TARGET_LIBC_PATH} rm -rf ${TARGET_DIR}/lib/ ln -sf /${ADK_TARGET_LIBC_PATH} ${TARGET_DIR}/lib + mv ${TARGET_DIR}/usr/lib/* ${TARGET_DIR}/usr/${ADK_TARGET_LIBC_PATH} + rm -rf ${TARGET_DIR}/usr/lib/ + ln -sf /usr/${ADK_TARGET_LIBC_PATH} ${TARGET_DIR}/usr/lib endif KERNEL_PKGDIR:=$(LINUX_BUILD_DIR)/kernel-pkg |