Skip to content

OnionUI/lib-sqlite3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miyoomini-sqlite3

This is a build of the sqlite3 source files for the Miyoo Mini.

Setup

To use sqlite in a Miyoo Mini project, add the following to the union-miyoomini-toolchain:

Add two lines to the ./Dockerfile:

    zip \
    sqlite3 \                    <<< add this line
  && rm -rf /var/lib/apt/lists/*

RUN mkdir -p /root/workspace
WORKDIR /root

COPY support .
RUN ./setup-toolchain.sh
RUN cat setup-env.sh >> .bashrc
RUN ./setup-sqlite.sh            <<< add this line

Add a script at ./support/setup-sqlite.sh:

#!/bin/sh
wget https://www.sqlite.org/2022/sqlite-autoconf-3390000.tar.gz
tar xvzf sqlite-autoconf-3390000.tar.gz
cd sqlite-autoconf-3390000/

./configure --host=arm-linux --prefix=/opt/miyoomini-toolchain/usr/arm-linux-gnueabihf/sysroot/usr CC=/opt/miyoomini-toolchain/usr/bin/arm-linux-gnueabihf-gcc

make
make install

Remember to run chmod a+x ./support/setup-sqlite.sh to make it executable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages