From: Michal Sojka Date: Wed, 20 Jul 2005 13:51:00 +0000 (+0000) Subject: Multiple link variants (ran,flash etc.) can be selected. Some fixes in rules. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/sysless.git/commitdiff_plain/ee17a3e080497d283fa7f1206d54d09a1559e564 Multiple link variants (ran,flash etc.) can be selected. Some fixes in rules. darcs-hash:20050720135140-f2ef6-1ee25747f6d6c40dee84c213eb56ee733872b212.gz --- diff --git a/arch/h8300/generic/libs/boot/Makefile.omk b/arch/h8300/generic/libs/boot/Makefile.omk index b61bfb0..fecab12 100644 --- a/arch/h8300/generic/libs/boot/Makefile.omk +++ b/arch/h8300/generic/libs/boot/Makefile.omk @@ -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