MIPS cross-compile bit
Use 3 additional Makefile variables
This commit is contained in:
@@ -302,11 +302,11 @@ ifdef BUILD_TARGET_NCURSES
|
||||
.PHONY: build-ncurses
|
||||
ifdef MAKEFILE_SRC
|
||||
../lib/ncurses.tar.gz:
|
||||
@echo "You will need to successfully execute 'make CROSS_TO_MIPS=1 fetch-ncurses' first"
|
||||
@echo "You will need to successfully execute 'make CROSS_TO_$(NCURSES_PLATFORM)=1 fetch-ncurses' first"
|
||||
@false
|
||||
$(TARGETPFX)ncurses/lib/libncurses.a: ../lib/ncurses.tar.gz
|
||||
(cd $(TARGETDIR) ; mkdir -p ncurses ; cd ncurses ; tar -xf ../../../lib/ncurses.tar.gz --strip-components=1 ; \
|
||||
./configure --build i686-pc-linux-gnu --host mipsel-linux-gnu ; \
|
||||
./configure --build $(NCURSES_CONFIGURE_BUILD) --host $(NCURSES_CONFIGURE_HOST) ; \
|
||||
make ; \
|
||||
cd ../../../src)
|
||||
endif #MAKEFILE_SRC
|
||||
|
||||
Reference in New Issue
Block a user