Changeset 444 for trunk/params-soft.mk
- Timestamp:
- May 16, 2018, 8:31:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/params-soft.mk
r440 r444 1 1 2 2 #put your absolute path to almos-mkh dir here 3 ALMOS -MKH_DIR = /Users/alain/soc/almos-mkh3 ALMOSMKH_DIR = /Users/alain/soc/almos-mkh 4 4 5 5 LIBC_NAME = mini-libc … … 11 11 LIBPTHREAD_NAME = mini-libpthread 12 12 13 ifeq ($(ALMOS -MKH_DIR),)14 $(error Please define ALMOS -MKH_DIR parameter in params-soft.mk!)13 ifeq ($(ALMOSMKH_DIR),) 14 $(error Please define ALMOSMKH_DIR parameter in params-soft.mk!) 15 15 endif 16 16 17 17 18 18 ifeq ($(LIBC_NAME), mini-libc) 19 LIBC_PATH = $(ALMOS-MKH_DIR)/libs/mini-libc/ 19 LIBC_PATH = $(ALMOSMKH_DIR)/libs/mini-libc/ 20 LIBC = $(LIBC_PATH)/build/lib/ 21 LIBC_INCLUDE = $(LIBC_PATH)/build/include/ 20 22 endif 21 23 ifeq ($(LIBC_NAME), newlib) 22 LIBC_PATH = $(ALMOS-MKH_DIR)/libs/newlib/ 24 ifeq ($(ARCH_NAME), tsar_mips32) 25 ARCH_NEWLIB=mipsel 26 endif 27 #TODO for x86 28 LIBC_PATH = $(ALMOSMKH_DIR)/libs/newlib/ 29 LIBC = $(LIBC_PATH)/build/$(ARCH_NEWLIB)-almosmkh/lib/ 30 LIBC_INCLUDE = $(LIBC_PATH)/build/$(ARCH_NEWLIB)-almosmkh/include/ 23 31 endif 24 32 25 33 ifeq ($(LIBPTHREAD_NAME), mini-libpthread) 26 LIBPTHREAD_PATH = $(ALMOS -MKH_DIR)/libs/mini-libpthread/34 LIBPTHREAD_PATH = $(ALMOSMKH_DIR)/libs/mini-libpthread/ 27 35 endif 28 36 37 LIBALMOSMKH_PATH = $(ALMOSMKH_DIR)/libs/libalmos-mkh 29 38 #Define path to .a and headers files for libc and libpthread 30 LIBC = $(LIBC_PATH)/build/lib/31 LIBC_INCLUDE = $(LIBC_PATH)/build/include/32 39 LIBPTHREAD = $(LIBPTHREAD_PATH)/build/lib/ 33 40 LIBPTHREAD_INCLUDE = $(LIBPTHREAD_PATH)/build/include/ 41 LIBALMOSMKH = $(LIBALMOSMKH_PATH)/build/lib/ 42 LIBALMOSMKH_INCLUDE = $(LIBALMOSMKH_PATH)/build/include/ 34 43 35 44 36 HAL = $(ALMOS-MKH_DIR)/hal 37 KERNEL = $(ALMOS-MKH_DIR)/kernel 45 HAL = $(ALMOSMKH_DIR)/hal 46 KERNEL = $(ALMOSMKH_DIR)/kernel 47 SHARED_INCLUDE = $(KERNEL)/syscalls/shared_include/ 38 48 39 49
Note: See TracChangeset
for help on using the changeset viewer.