diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-11 12:58:28 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-11 12:58:28 +0000 |
commit | c001a032cea65b9269f3cca4b0cf6db828a75c3e (patch) | |
tree | 88384a41b449768ed8b3714bc5a33e01d1c391ed /rules/u-boot-v2.make | |
parent | 103ae7a505dc0db0a2f19c6ec29827ba5be72ad3 (diff) | |
download | ptxdist-c001a032cea65b9269f3cca4b0cf6db828a75c3e.tar.gz ptxdist-c001a032cea65b9269f3cca4b0cf6db828a75c3e.tar.xz |
* u-boot-v2.make, kernel.make:
cleaned up special toolchain handling
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7937 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/u-boot-v2.make')
-rw-r--r-- | rules/u-boot-v2.make | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/rules/u-boot-v2.make b/rules/u-boot-v2.make index 4f9b28966..6a5c01b15 100644 --- a/rules/u-boot-v2.make +++ b/rules/u-boot-v2.make @@ -18,15 +18,15 @@ PACKAGES-$(PTXCONF_U_BOOT_V2) += u-boot-v2 # # handle special compilers # -ifneq ($(PTX_COMPILER_PREFIX_UBOOT),) -ifneq ($(PTX_COMPILER_PREFIX),$(PTX_COMPILER_PREFIX_UBOOT)) -ifeq ($(wildcard .utoolchain/$(PTX_COMPILER_PREFIX_UBOOT)gcc),) -$(warning *** no .utoolchain link found. Please create a link) -$(warning *** .utoolchain to the bin directory of your $(PTX_COMPILER_PREFIX_UBOOT) toolchain) -$(error ) -endif -U_BOOT_V2_TOOLCHAIN_LINK := $(PTXDIST_WORKSPACE)/.utoolchain/ -endif +ifdef PTXCONF_U_BOOT_V2 + ifneq ($(PTX_COMPILER_PREFIX),$(PTX_COMPILER_PREFIX_UBOOT)) + ifeq ($(wildcard .utoolchain/$(PTX_COMPILER_PREFIX_UBOOT)gcc),) + $(warning *** no .utoolchain link found. Please create a link) + $(warning *** .utoolchain to the bin directory of your $(PTX_COMPILER_PREFIX_UBOOT) toolchain) + $(error ) + endif + U_BOOT_V2_TOOLCHAIN_LINK := $(PTXDIST_WORKSPACE)/.utoolchain/ + endif endif # |