ShaneAnderson writes in Bug 565:
need to include .config file before setting CROSS otherwise TARGET_ARCH isnt set properly
This commit is contained in:
parent
969af89797
commit
004ad11337
10
Rules.mak
10
Rules.mak
@ -17,6 +17,11 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Pull in the user's busybox configuration
|
||||||
|
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||||
|
-include $(top_builddir)/.config
|
||||||
|
endif
|
||||||
|
|
||||||
#--------------------------------------------------------
|
#--------------------------------------------------------
|
||||||
PROG := busybox
|
PROG := busybox
|
||||||
MAJOR_VERSION :=1
|
MAJOR_VERSION :=1
|
||||||
@ -108,11 +113,6 @@ TARGET_ARCH:=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
|
|||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Pull in the user's busybox configuration
|
|
||||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
|
||||||
-include $(top_builddir)/.config
|
|
||||||
endif
|
|
||||||
|
|
||||||
# A nifty macro to make testing gcc features easier
|
# A nifty macro to make testing gcc features easier
|
||||||
check_gcc=$(shell \
|
check_gcc=$(shell \
|
||||||
if [ "$(1)" != "" ]; then \
|
if [ "$(1)" != "" ]; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user