Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Commit

Permalink
set busybox's CONFIG_SYSROOT using NDK_SYSROOT variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eighthave committed Sep 2, 2012
1 parent 54383b9 commit 773d5d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions external/Makefile
Expand Up @@ -71,6 +71,8 @@ $(EXTERNAL_ROOT)/pkgdetails/pkgdetails: $(EXTERNAL_ROOT)/pkgdetails/pkgdetails.c

$(EXTERNAL_ROOT)/busybox/.config: $(EXTERNAL_ROOT)/busybox_config
cp $(EXTERNAL_ROOT)/busybox_config $(EXTERNAL_ROOT)/busybox/.config
sed -i "s|^CONFIG_SYSROOT=.*|CONFIG_SYSROOT=\"$(NDK_SYSROOT)\"|" \
$(EXTERNAL_ROOT)/busybox/.config

$(EXTERNAL_ROOT)/busybox/busybox: $(EXTERNAL_ROOT)/busybox/.config
# I haven't found a reliable way to install/uninstall a patch from a Makefile,
Expand Down

0 comments on commit 773d5d0

Please sign in to comment.