| 1234567891011121314151617181920 |
- # this was called from the Makefile in /,
- # and we just tell it what objects that he should make.
- # must be the first, as we call it first.
- obj-i = arch_mm.c
- %.S.o: %.S
- @$(AS) $*.S -o $*.o -m$(BITS)
- @echo "AS $*.S"
- target: $(obj-i)
- ifeq ($(D), )
- @echo "this should call from the Makefile in directory /, but not typing make in kernel/. :-(" >&2
- @exit 1
- endif
- # $(PWD) is the / directory of kernel, e.g. /root/evx/
- @$(MAKE) -C $(PWD) D=$(shell pwd) obj-i="$(obj-i)"
|