123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- #!/usr/bin/make -f
- # file: make.def
- # ====================================================================
- # Atheros Wifi Router Hardware Symbols;
- # --------------------------------------------------------------------
- # include ../../../../build/scripts/$(BOARD_TYPE)/config.$(BOARD_TYPE)
- # ====================================================================
- # Atheros Wifi Router Software Symbols;
- # --------------------------------------------------------------------
- # TOOLPATH=../../../../build/$(TOOLCHAIN)/build_mips/bin
- # CROSS=$(TOOLPATH)/mips-linux-
- # CROSS_LINUX=$(TOOLPREFIX)
- # ====================================================================
- # Freescale PL-14/iMX35 Platform Symbols;
- # --------------------------------------------------------------------
- # ROOTFS=~/ltib/rootfs
- # TOOLPATH=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/
- # CROSS=${TOOLPATH}/arm-none-linux-gnueabi-
- # CROSS_LINUX=$(TOOLPREFIX)
- # ====================================================================
- # Freescale PL-16/iMX28 Platform Symbols;
- # --------------------------------------------------------------------
- # ROOTFS=~/ltib/rootfs
- # TOOLPATH=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/
- # CROSS=${TOOLPATH}/arm-none-linux-gnueabi-
- # CROSS_LINUX=$(TOOLPREFIX)
- # ====================================================================
- # MIPS/AMiLDA Software Symbols;
- # --------------------------------------------------------------------
- # CROSS=/export/tools/mipsel-linux-uclibc/bin/mipsel-uclibc-
- # CROSS_LINUX=/export/tools/bin/mipsel-linux-
- # ====================================================================
- # Edimax Gateway Hardware Symbols;
- # --------------------------------------------------------------------
- # PLATFORM=-D_ADM5120_
- # MODEL=-D_6104KP_
- # ENDIAN=-D_LITTLE_ENDIAN_
- # GATEWAY=y
- # ====================================================================
- # toolchain;
- # --------------------------------------------------------------------
- AR=$(CROSS)ar
- CAS=$(CROSS)gcc -c
- CC=$(CROSS)gcc
- CXX=$(CROSS)g++
- LD=$(CROSS)ld
- RANLIB=$(CROSS)ranlib
- STRIP=$(CROSS)strip
- # ====================================================================
- # installation folders;
- # --------------------------------------------------------------------
- ROOTFS?=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/open-plc-utils-0.3/release
- BIN=${ROOTFS}/usr/local/bin
- MAN=${ROOTFS}/usr/local/man/man1
- DOC=${ROOTFS}/home/www/software
- WWW=${ROOTFS}/home/www
- FTP=${ROOTFS}/home/ftp
- # ====================================================================
- # file ownership;
- # --------------------------------------------------------------------
- OWNER=0
- GROUP=0
- # ====================================================================
- # file permissions;
- # --------------------------------------------------------------------
- DIR_PERM=0755
- MAN_PERM=0444
- BIN_PERM=0555
- WWW_PERM=0666
- SUID_PERM=4555
- # ====================================================================
- # search folders;
- # --------------------------------------------------------------------
- VPATH=../applets:../debian:../docbook:../docbook2:../ether:../key:../mdio:../mme:../nda:../nodes:../nvm:../patches:../pib:../plc:../qca:../ram:../scripts:../serial:../support:../tools
- # ====================================================================
- # types and targets;
- # --------------------------------------------------------------------
- .SUFFIXES: .o .c .h .cpp .hpp
- .PHONY: all compile compact install scripts manuals uninstall library check fresh clean
- # ====================================================================
- # default compiler and linker flags;
- # --------------------------------------------------------------------
- CFLAGS=-Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ $(EXTRA_CFLAGS)
- CXXFLAGS=-Wall -Wextra -Wno-unused-parameter -DMAKEFILE $(EXTRA_CXXFLAGS)
- LDFLAGS=$(EXTRA_LDFLAGS)
|