mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-22 12:40:37 +09:00
Fix Makefile: include config.mk only after CROSS_COMPILE is defined
Patch by Friedrich Lobenstock, 02 Jun 2005
This commit is contained in:
parent
82d716fd0d
commit
92b197f0da
@ -2,6 +2,9 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix Makefile: include config.mk only after CROSS_COMPILE is defined
|
||||||
|
Patch by Friedrich Lobenstock, 02 Jun 2005
|
||||||
|
|
||||||
* Fix comment in common/soft_i2c.c
|
* Fix comment in common/soft_i2c.c
|
||||||
Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
|
Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
|
||||||
|
|
||||||
|
7
Makefile
7
Makefile
@ -53,9 +53,6 @@ ifeq (include/config.mk,$(wildcard include/config.mk))
|
|||||||
# load ARCH, BOARD, and CPU configuration
|
# load ARCH, BOARD, and CPU configuration
|
||||||
include include/config.mk
|
include include/config.mk
|
||||||
export ARCH CPU BOARD VENDOR SOC
|
export ARCH CPU BOARD VENDOR SOC
|
||||||
# load other configuration
|
|
||||||
include $(TOPDIR)/config.mk
|
|
||||||
|
|
||||||
ifndef CROSS_COMPILE
|
ifndef CROSS_COMPILE
|
||||||
ifeq ($(HOSTARCH),ppc)
|
ifeq ($(HOSTARCH),ppc)
|
||||||
CROSS_COMPILE =
|
CROSS_COMPILE =
|
||||||
@ -93,6 +90,10 @@ endif
|
|||||||
|
|
||||||
export CROSS_COMPILE
|
export CROSS_COMPILE
|
||||||
|
|
||||||
|
# load other configuration
|
||||||
|
include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# U-Boot objects....order is important (i.e. start must be first)
|
# U-Boot objects....order is important (i.e. start must be first)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user