Update userspace

This commit is contained in:
Alex
2023-10-09 01:25:55 +03:00
parent 883d2e3481
commit 17787dbc9b
17 changed files with 111 additions and 196 deletions

View File

@@ -2,6 +2,12 @@
int main(int argc, char *argv[])
{
if (argc == 1)
{
printf("Usage: echo [args]\n");
return 0;
}
for (int i = 1; i < argc; i++)
printf("%s ", argv[i]);
printf("\n");

View File

@@ -28,7 +28,7 @@ endif
OBJ = $(C_SOURCES:.c=.o) $(CPP_SOURCES:.cpp=.o) $(ASM_SOURCES:.asm=.o) $(S_SOURCES:.S=.o) $(PSF_SOURCES:.psf=.o) $(BMP_SOURCES:.bmp=.o)
SYSROOT = --sysroot=$(WORKSPACE)out/
FILENAME = fsh
FILENAME = sh
HEADERS = $(sort $(dir $(wildcard $(WORKSPACE)out/include/*)))