Fix build of prefix

This commit is contained in:
Jeremy Soller 2019-04-07 10:12:28 -06:00
parent ebee179b5b
commit 137db4615a
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1
2 changed files with 3 additions and 1 deletions

View file

@ -29,6 +29,8 @@ $(PREFIX)/relibc-install: $(ROOT)/relibc | $(PREFIX)/gcc-install
cd "$<" && \
export PATH="$(ROOT)/$@.partial/bin:$$PATH" && \
export CARGO=xargo && \
make -j `$(NPROC)` headers && \
make -j `$(NPROC)` install-headers DESTDIR="$(ROOT)/$@.partial/$(TARGET)" && \
make -j `$(NPROC)` all && \
make -j `$(NPROC)` install DESTDIR="$(ROOT)/$@.partial/$(TARGET)"
cd "$@.partial" && $(PREFIX_STRIP)