]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
Multiple link variants (ran,flash etc.) can be selected. Some fixes in rules.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 20 Jul 2005 13:51:00 +0000 (13:51 +0000)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 16 Nov 2010 15:04:34 +0000 (16:04 +0100)
darcs-hash:20050720135140-f2ef6-1ee25747f6d6c40dee84c213eb56ee733872b212.gz

arch/h8300/generic/libs/boot/Makefile.omk

index b61bfb03524f9c047833b270e6c5ecdf5b646e58..fecab124396d2f1f0e4406e50f49aba9d3663c8c 100644 (file)
@@ -1,15 +1,21 @@
 # -*- makefile -*-
 
+lib_LIBRARIES=boot_fn
+boot_fn_SOURCES = boot_fn.o
+
+
 bin_PROGRAMS = boot
+boot_SOURCES = boot.c boot_fn.o
 
-boot_SOURCES = boot.c boot_fn.o crt0.S
+link_VARIANTS = ram flash
 
-default_CONFIG = CONFIG_PIC_BOOT_FN=y
 
 INCLUDES = -g
+lib_obj_SOURCES = crt0.S
 
-lib_obj_SOURCES = crt0.S boot_fn.o
+include_HEADERS = boot_fn.h
 
+default_CONFIG = CONFIG_PIC_BOOT_FN=y
 
 ifeq ($(CONFIG_PIC_BOOT_FN),y)
 # The following is for non-standard compilation of boot_fn