Fix gdb compile
This commit is contained in:
parent
52c8b672bd
commit
bbf595671c
@ -17,7 +17,10 @@ $(GDB_DIR)/.unpacked: $(DL_DIR)/$(GDB_SOURCE)
|
|||||||
|
|
||||||
$(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked
|
$(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked
|
||||||
(cd $(GDB_DIR); rm -rf config.cache; \
|
(cd $(GDB_DIR); rm -rf config.cache; \
|
||||||
PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \
|
PATH=$(STAGING_DIR)/bin:$$PATH AR=$(TARGET_CROSS)ar \
|
||||||
|
AS=$(TARGET_CROSS)as LD=$(TARGET_CROSS)ld \
|
||||||
|
RANLIB=$(TARGET_CROSS)ranlib NM=$(TARGET_CROSS)nm \
|
||||||
|
CC=$(TARGET_CC1) \
|
||||||
./configure \
|
./configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
@ -30,6 +33,7 @@ $(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked
|
|||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
|
--includedir=$(STAGING_DIR)/include \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--without-uiout --disable-gdbmi \
|
--without-uiout --disable-gdbmi \
|
||||||
--disable-tui --disable-gdbtk --without-x \
|
--disable-tui --disable-gdbtk --without-x \
|
||||||
|
@ -12,7 +12,10 @@ GDB_WDIR:=$(BUILD_DIR)/gdbserver
|
|||||||
|
|
||||||
$(GDB_WDIR)/.configured: $(GDB_DIR)/.unpacked
|
$(GDB_WDIR)/.configured: $(GDB_DIR)/.unpacked
|
||||||
(cd $(GDB_WDIR); rm -rf config.cache; \
|
(cd $(GDB_WDIR); rm -rf config.cache; \
|
||||||
PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \
|
PATH=$(STAGING_DIR)/bin:$$PATH AR=$(TARGET_CROSS)ar \
|
||||||
|
AS=$(TARGET_CROSS)as LD=$(TARGET_CROSS)ld \
|
||||||
|
RANLIB=$(TARGET_CROSS)ranlib NM=$(TARGET_CROSS)nm \
|
||||||
|
CC=$(TARGET_CC1) \
|
||||||
./configure \
|
./configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
@ -25,6 +28,7 @@ $(GDB_WDIR)/.configured: $(GDB_DIR)/.unpacked
|
|||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
|
--includedir=$(STAGING_DIR)/include \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--without-uiout --disable-gdbmi \
|
--without-uiout --disable-gdbmi \
|
||||||
--disable-tui --disable-gdbtk --without-x \
|
--disable-tui --disable-gdbtk --without-x \
|
||||||
|
Loading…
Reference in New Issue
Block a user