Changeset 445 for trunk/user/ksh
- Timestamp:
- May 29, 2018, 9:27:23 AM (7 years ago)
- Location:
- trunk/user/ksh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/ksh/Makefile
r444 r445 1 1 ######################################################################### 2 # Makefile for the ALMOS-MKH "ksh" application2 # Makefile for the "ksh" application # 3 3 ######################################################################### 4 4 5 5 -include ../../params-soft.mk 6 6 7 ifeq ($(ARCH_NAME),) 7 8 $(error Please define in ARCH_NAME parameter in params-soft.mk!) … … 10 11 OBJS = build/ksh.o 11 12 12 INCLUDES = -I. -I$(LIBC_INCLUDE) -I$(LIBPTHREAD_INCLUDE) -I$(LIBALMOSMKH_INCLUDE) -I$(SHARED_INCLUDE) 13 INCLUDES = -I. \ 14 -I$(LIBC_INCLUDE) \ 15 -I$(LIBPTHREAD_INCLUDE) \ 16 -I$(LIBALMOSMKH_INCLUDE) \ 17 -I$(SHARED_INCLUDE) 13 18 14 19 compile: dirs build/ksh.elf 20 15 21 build/ksh.elf : $(OBJS) ksh.ld 16 $(LD) -o $@ -T ksh.ld $(OBJS) - nostdlib -L$(LIBC) -L$(LIBPTHREAD) -L$(LIBALMOSMKH) -lpthread -lc -lalmos-mkh -lc-lpthread -lc22 $(LD) -o $@ -T ksh.ld $(OBJS) -L$(LIBC) -L$(LIBPTHREAD) -L$(LIBALMOSMKH) -lc -lpthread -lalmosmkh -lpthread -lc 17 23 $(DU) -D $@ > $@.txt 18 24 -
trunk/user/ksh/ksh.c
r444 r445 13 13 #include <signal.h> 14 14 #include <unistd.h> 15 #include <almos -mkh.h>15 #include <almosmkh.h> 16 16 17 17 #define CMD_MAX_SIZE (256) // max number of characters in one command … … 320 320 321 321 display_chdev(); 322 } 323 else if( strcmp( argv[1] , "dqdt" ) == 0 ) 324 { 325 if( argc != 2 ) 326 { 327 printf(" usage: display dqdt\n"); 328 return; 329 } 330 331 display_dqdt(); 322 332 } 323 333 else
Note: See TracChangeset
for help on using the changeset viewer.