]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
Make system is now more modular.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 25 Aug 2005 06:07:00 +0000 (06:07 +0000)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 16 Nov 2010 15:54:49 +0000 (16:54 +0100)
* Rules for C compilation were splitted to two files. This allows two
  things: 1) to have different rules for different compilers and 2) to
  reuse these rules for compilation with different parameters
  (e.g. compilation for target and for host).

* Compilation of utilities (utils_PROGRAMS) should now work. It
  produces binaries compiled for host.

* Compilation for target is now configured by CROSS_COMPILE
  variable in config.target file.

* Dependency on ld script is now in .d file, not in the prerequsities
  of the PROGRAM_template. This dependency is created only if
  LD_SCRIPT variable is not empty.

* Sources for target are now compiled with -DOMK_FOR_TARGET

darcs-hash:20050825060722-f2ef6-0a0fe144a4eb79c548ae3c37d59ddc363186212d.gz

board/h8300/h8canusb/config.h8canusb

index 5955324f0f99d053052112cc9075a8302a9528ad..ee04c6571b171e79ae4a1bbb4570bc3e73d11496 100644 (file)
@@ -4,11 +4,8 @@ ARCH=h8300
 MACH=2638
 BOARD=h8canusb
 
-CC = h8300-coff-gcc
-LINK = h8300-coff-ld
-AR = h8300-coff-ar
-OBJCOPY = h8300-coff-objcopy
 
+CROSS_COMPILE = h8300-coff-
 TARGET_ARCH = -ms
 
 # Set default C flags. If theese are set elsewhere (e.g. on a command