diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-10 14:13:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-10 14:13:59 +0000 |
commit | cc8a388aace9394a096a44262c79ecf69023456b (patch) | |
tree | 74a69f864b3e5588b03e26288633e22fc0fd3cb1 /make/compilers | |
parent | Regenerated after patch from David Fiddes <D.J.Fiddes@hw.ac.uk> for (diff) | |
download | rtems-cc8a388aace9394a096a44262c79ecf69023456b.tar.bz2 |
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Comments:
> It seems that rules for %{EXEEXT} don't exist in gcc-target-default.cfg
No, gcc-target-default.cfg is used to compile executables for the target
only, not for the host.
EXEEXT may only be used for programs to be run on the host.
> What should I add please?
This was a bug in my initial configuration patch to rtems-980616. A
correction to this patch I had sent to Joel at 26.06.98 doesn't seem to
have made it into the snapshot.
Please find attached the patch I had sent to Joel, hopefully this patch
fixes this problem.
Diffstat (limited to 'make/compilers')
-rw-r--r-- | make/compilers/gcc-target-default.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg index 82294d0e87..f2d4233147 100644 --- a/make/compilers/gcc-target-default.cfg +++ b/make/compilers/gcc-target-default.cfg @@ -203,7 +203,7 @@ ${ARCH}/%.o: %.s # Specify our own default rule for this to prevent having CFLAGS and # CPPFLAGS being passed to linker -${ARCH}/%: ${ARCH}/%.o +${ARCH}/%$(EXEEXT): ${ARCH}/%.o ${CC} ${LDFLAGS} -o $@ $@.o ${LD_LIBS} # Make foo.rel from foo.o @@ -211,7 +211,7 @@ ${ARCH}/%.rel: ${ARCH}/%.o ${LD} $(LDFLAGS_INCOMPLETE) -o $@ $^ # create $(ARCH)/pgm from pgm.sh -${ARCH}/%: %.sh +${ARCH}/%$(EXEEXT): %.sh $(RM) $@ $(CP) $< $@ $(CHMOD) +x $@ |