lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since a58db280 was c9ed176, checked in by Jakub Jermar <jakub@…>, 20 years ago |
|
Move kernel build files one level up the directory tree.
Fix paths in your testing environment!
|
-
Property mode
set to
100644
|
|
File size:
379 bytes
|
| Line | |
|---|
| 1 | IA-64_BINUTILS_DIR=/usr/local/ia64/bin
|
|---|
| 2 | IA-64_TARGET=ia64-pc-linux-gnu
|
|---|
| 3 |
|
|---|
| 4 | .PHONY: nothing build
|
|---|
| 5 |
|
|---|
| 6 | nothing:
|
|---|
| 7 |
|
|---|
| 8 | build: boot.bin
|
|---|
| 9 | cp boot.bin ../../../load.bin
|
|---|
| 10 |
|
|---|
| 11 | AS=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-as
|
|---|
| 12 | LD=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-ld
|
|---|
| 13 |
|
|---|
| 14 | ASFLAGS=-EL
|
|---|
| 15 | LFLAGS=-EL -T _link.ld -n
|
|---|
| 16 |
|
|---|
| 17 | boot.bin: boot.o
|
|---|
| 18 | $(LD) $(LFLAGS) boot.o -o $@
|
|---|
| 19 |
|
|---|
| 20 | boot.o:
|
|---|
| 21 | $(AS) boot.s -o $@
|
|---|
| 22 |
|
|---|
| 23 | clean:
|
|---|
| 24 | -rm *.o *.bin
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.