add busybox config file so I can edit it easily

This commit is contained in:
Joey Hess 2013-02-18 15:43:40 -04:00
parent 5fe7d2f599
commit bff6c9f53f
2 changed files with 1002 additions and 6 deletions

View file

@ -5,16 +5,15 @@ PATH:=$(HOME)/.ghc/android-14/arm-linux-androideabi-4.7/bin:$(PATH)
build: source
mkdir -p git-annex-bundle/bin
cp busybox_config source/busybox/.config
cd source/busybox && yes '' | $(MAKE) oldconfig
cd source/busybox && $(MAKE)
cp -a source/busybox/busybox git-annex-bundle/bin/
cd source/git && $(MAKE) install NO_OPENSSL=1 NO_GETTEXT=1 NO_GECOS_IN_PWENT=1 NO_GETPASS=1 NO_NSEC=1 NO_MKDTEMP=1 NO_PTHREADS=1 NO_PERL=1 NO_CURL=1 NO_EXPAT=1 NO_TCLTK=1 NO_ICONV=1 prefix= DESTDIR=../../git-annex-bundle
rm -f git-annex-bundle/bin/git-cvsserver
cp source/busybox/configs/android2_defconfig source/busybox/.config
cd source/busybox && yes '' | $(MAKE) oldconfig
echo 'CONFIG_FEATURE_INSTALLER=y' >> source/busybox/.config
cd source/busybox && $(MAKE)
cp -a source/busybox/busybox git-annex-bundle/bin/
cd source/dropbear && git reset --hard origin/master && git am < ../../dropbear.patch
cp source/automake/lib/config.sub source/automake/lib/config.guess source/dropbear/
cd source/dropbear && ./configure --host=arm-linux-androideabi --disable-lastlog --disable-utmp --disable-utmpx --disable-wtmp --disable-wtmpx