Mercurial > ecos
diff packages/hal/sparclite/arch/current/cdl/hal_sparclite.cdl @ 1604:bc88a3357a79
Update usage of 'tail' command for new (pickier) version - from Jani Monoses
| author | gthomas |
|---|---|
| date | Thu, 22 Apr 2004 15:26:20 +0000 |
| parents | d2c90368aeef |
| children | 74dbf4c3f2e1 |
line wrap: on
line diff
--- a/packages/hal/sparclite/arch/current/cdl/hal_sparclite.cdl +++ b/packages/hal/sparclite/arch/current/cdl/hal_sparclite.cdl @@ -67,7 +67,7 @@ cdl_package CYGPKG_HAL_SPARCLITE { <PREFIX>/lib/vectors.o : <PACKAGE>/src/vectors.S $(CC) -Wp,-MD,vectors.tmp $(INCLUDE_PATH) $(CFLAGS) -c -o $@ $< @echo $@ ": \\" > $(notdir $@).deps - @tail +2 vectors.tmp >> $(notdir $@).deps + @tail -n +2 vectors.tmp >> $(notdir $@).deps @echo >> $(notdir $@).deps @rm vectors.tmp } @@ -76,7 +76,7 @@ cdl_package CYGPKG_HAL_SPARCLITE { <PREFIX>/lib/target.ld: <PACKAGE>/src/sparclite.ld $(CC) -E -P -Wp,-MD,target.tmp -DEXTRAS=1 -xc $(INCLUDE_PATH) $(CFLAGS) -o $@ $< @echo $@ ": \\" > $(notdir $@).deps - @tail +2 target.tmp >> $(notdir $@).deps + @tail -n +2 target.tmp >> $(notdir $@).deps @echo >> $(notdir $@).deps @rm target.tmp }
