Browse Source

fixed rpi build issues

master v1.0b
Stefan Naumann 4 years ago
parent
commit
0ef70bbf7c
  1. 2
      .gitmodules
  2. 3
      Makefile
  3. 1
      lib/PiOS

2
.gitmodules

@ -1,6 +1,6 @@
[submodule "lib/PiOS"]
path = lib/PiOS
url = https://github.com/naums/PiOS.git
url = https://github.com/naums/PiOS
[submodule "lib/newlib-cygwin"]
path = lib/newlib-cygwin
url = git://sourceware.org/git/newlib-cygwin.git

3
Makefile

@ -71,10 +71,11 @@ all: $(outname) $(DEPS)
lib/libpios.a:
BOARD="$(BOARD)" \
cd lib/PiOS/ && \
make
make lib/libpios.a
mv lib/PiOS/lib/libpios.a lib/libpios.a
newlib:
-mkdir lib/build
cd lib/build && \
CFLAGS_FOR_TARGET="$(NEWLIB_CFLAGS)"\
../newlib-cygwin/configure $(NEWLIB_OPTS) && \

1
lib/PiOS

@ -0,0 +1 @@
Subproject commit 8cfadb7dfdb6070925be57af5ee2426e305fff0b
Loading…
Cancel
Save