comparison packages/hal/mn10300/sim/current/src/PKGconf.mak @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children e97d78785e2d
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
20 # 20 #
21 # The Original Code is eCos - Embedded Cygnus Operating System, released 21 # The Original Code is eCos - Embedded Cygnus Operating System, released
22 # September 30, 1998. 22 # September 30, 1998.
23 # 23 #
24 # The Initial Developer of the Original Code is Cygnus. Portions created 24 # The Initial Developer of the Original Code is Cygnus. Portions created
25 # by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. 25 # by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
26 # ------------------------------------------- 26 # -------------------------------------------
27 # 27 #
28 #####COPYRIGHTEND#### 28 #####COPYRIGHTEND####
29 #=============================================================================== 29 #===============================================================================
30 30
31 PACKAGE := hal_mn10300_sim 31 PACKAGE := hal_mn10300_sim
32 include ../../../../../pkgconf/pkgconf.mak 32 include ../../../../../pkgconf/pkgconf.mak
33 33
34 LIBRARY := libtarget.a 34 LIBRARY := libtarget.a
35 COMPILE := hal_diag.c sim.S 35 COMPILE := hal_diag.c
36 OTHER_OBJS := 36 OTHER_OBJS :=
37 OTHER_TARGETS := ldscript.stamp 37 OTHER_TARGETS :=
38 OTHER_CLEAN := ldscript.clean 38 OTHER_CLEAN :=
39 OTHER_DEPS := ldscript.d 39 OTHER_DEPS :=
40 40
41 include $(COMPONENT_REPOSITORY)/pkgconf/makrules.src 41 include $(COMPONENT_REPOSITORY)/pkgconf/makrules.src
42 42
43 .PHONY: ldscript.clean
44
45 ldscript.stamp: sim.ld
46 $(CC) -E -P -Wp,-MD,ldscript.tmp -xc $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/target.ld $<
47 @echo -e "\n$@ : $< \\" > ldscript.d
48 @tail -n +2 ldscript.tmp >> ldscript.d
49 @rm ldscript.tmp
50 $(TOUCH) $@
51
52 ldscript.clean:
53 $(RM) -f $(PREFIX)/lib/target.ld
54 $(RM) -f ldscript.stamp
55
56