urbit/nix/nixcrpkgs/pkgs/avrdude/builder.sh
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

24 lines
329 B
Bash

source $setup
tar -xf $src
mv avrdude-* avrdude
ls -lad avrdude
cd avrdude
chmod -R u+w .
cp $config_dot_sub config.sub
cat $extra_conf >> avrdude.conf.in
cd ..
mkdir build
cd build
../avrdude/configure --host=$host --prefix=$out \
--enable-static \
--disable-shared \
--disable-dependency-tracking
make
make install