diff --git a/Makefile b/Makefile index 957517e9e..2d76c7945 100644 --- a/Makefile +++ b/Makefile @@ -270,6 +270,9 @@ clean: clean_c clean_musl rm -rf $(APP)/*.bin $(APP)/*.elf cargo clean +clean_c:: + rm -rf $(app-objs) + clean_musl: rm -rf ulib/ruxmusl/build_* rm -rf ulib/ruxmusl/install diff --git a/ulib/include/ax_pthread_cond.h b/ulib/include/ax_pthread_cond.h index e5179cef9..96fd090f1 100644 --- a/ulib/include/ax_pthread_cond.h +++ b/ulib/include/ax_pthread_cond.h @@ -1,6 +1,6 @@ // Generated by ruxos_posix_api/build.rs, DO NOT edit! typedef struct { - long __l[5]; + long __l[4]; } pthread_cond_t; diff --git a/ulib/include/ax_pthread_mutex.h b/ulib/include/ax_pthread_mutex.h index 59a6b494e..e9e391a9e 100644 --- a/ulib/include/ax_pthread_mutex.h +++ b/ulib/include/ax_pthread_mutex.h @@ -1,8 +1,8 @@ // Generated by ruxos_posix_api/build.rs, DO NOT edit! typedef struct { - long __l[6]; + long __l[5]; } pthread_mutex_t; -#define PTHREAD_MUTEX_INITIALIZER { .__l = {0, 8, 0, 0, 0, 0}} +#define PTHREAD_MUTEX_INITIALIZER { .__l = {8, 0, 0, 0, 0}}