ack/plat/linuxppc/build.mk
David Given 07453d184a Top, topgen, aelflod. Moved the libraries back into the platform-specific
directories --- wrangling descr files was too hard. C programs can be built
for cpm, pc86, linux386, linux68k!

--HG--
branch : dtrg-buildsystem
rename : util/ack/build.mk => util/led/build.mk
rename : util/LLgen/build.mk => util/topgen/build.mk
2013-05-13 23:26:15 +01:00

32 lines
424 B
Makefile

ARCH := powerpc
PLATFORM := linuxppc
OPTIMISATION := -O6
D := plat/linuxppc/
platform-headers := \
ack/config.h \
sys/ioctl.h \
unistd.h
platform-libsys := \
_syscall.s \
trap.s
$(eval $(call build-platform))
$(eval $(call build-liblinux))
define build-linuxppc-boot-impl
$(call reset)
$(call ackfile, $D/boot.s)
$(call installto, $(PLATIND)/$(PLATFORM)/boot.o)
endef
$(eval $(build-linuxppc-boot-impl))