Merge branch 'dev_ck_v2.1_new_feature_1113' into 'dev_ck_v2.1'
rtos 组件makefile入库#new_feature_1113 See merge request ucp/driver/ucp4008_platform_spu!60
This commit is contained in:
commit
4df35c61fd
21
public/rtos/code/build.sh
Executable file
21
public/rtos/code/build.sh
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
export DIR_SCRIPT=$(cd `dirname "$0"`;pwd)
|
||||||
|
|
||||||
|
echo "###### start compiling smartos..."
|
||||||
|
export DIR_SMARTOS_SRC=${DIR_SCRIPT}/smartos_code
|
||||||
|
cd ${DIR_SMARTOS_SRC}
|
||||||
|
make clean && make
|
||||||
|
|
||||||
|
echo "###### start compiling spinlock..."
|
||||||
|
export DIR_SPINLOCK_SRC=${DIR_SCRIPT}/spinlock_code
|
||||||
|
cd ${DIR_SPINLOCK_SRC}
|
||||||
|
make clean && make
|
||||||
|
|
||||||
|
echo "###### start compiling interrupt..."
|
||||||
|
export DIR_INTERRUPT_SRC=${DIR_SCRIPT}/interrupt_code
|
||||||
|
cd ${DIR_INTERRUPT_SRC}
|
||||||
|
make clean && make
|
||||||
|
|
||||||
|
echo "###### start compiling hw_q..."
|
||||||
|
export DIR_HWQ_SRC=${DIR_SCRIPT}/hw_q_code
|
||||||
|
cd ${DIR_HWQ_SRC}
|
||||||
|
make clean && make
|
Binary file not shown.
@ -2,15 +2,18 @@
|
|||||||
# Automatically-generated file. Do not edit!
|
# Automatically-generated file. Do not edit!
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
-include ../makefile.init
|
# set toolchain home
|
||||||
|
ifeq ($(strip $(MaPU_TC_HOME)),)
|
||||||
|
MaPU_TC_HOME := /public/share/tools/msdk/toolchain
|
||||||
|
endif
|
||||||
|
|
||||||
RM := find . -path './build' -prune -o -print -a -type f -not -name '*.mk' -a -not -name '*.ld' -a -not -name 'makefile' -a -not -name 'genhex.sh' -delete & rm -rf
|
RM := rm -rf
|
||||||
|
APP: all
|
||||||
|
LIB: libhwque.a
|
||||||
|
.PHONY: LIB APP
|
||||||
|
|
||||||
# All of the sources participating in the build are defined here
|
# All of the sources participating in the build are defined here
|
||||||
-include sources.mk
|
-include ./obj/subdir.mk
|
||||||
-include ../Src/subdir.mk
|
|
||||||
-include subdir.mk
|
|
||||||
-include objects.mk
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
ifneq ($(strip $(C_DEPS)),)
|
ifneq ($(strip $(C_DEPS)),)
|
||||||
@ -18,26 +21,22 @@ ifneq ($(strip $(C_DEPS)),)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
-include ../makefile.defs
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
|
||||||
# All Target
|
# All Target
|
||||||
all: libsmartos_code.a
|
all: libhwque.a
|
||||||
|
|
||||||
# Tool invocations
|
# Tool invocations
|
||||||
libsmartos_code.a: $(OBJS)
|
libhwque.a: $(OBJS)
|
||||||
@echo 'Building target: $@'
|
@echo 'Building target: $@'
|
||||||
@echo 'Invoking: GNU archiver'
|
@echo 'Invoking: GNU archiver'
|
||||||
ar rcs "libsmartos_code.a" $(USER_OBJS) $(OBJS) $(LIBS)
|
ar rcs "./lib/libhwque.a" $(USER_OBJS) $(OBJS) $(LIBS)
|
||||||
@echo 'Finished building target: $@'
|
@echo 'Finished building target: $@'
|
||||||
@echo ' '
|
@echo ' '
|
||||||
|
|
||||||
# Other Targets
|
# Other Targets
|
||||||
clean:
|
clean:
|
||||||
-$(RM) $(LIB)$(OBJS)$(C_DEPS) libsmartos_code.a
|
-$(RM) ./obj/*.o ./obj/*.d ./lib/libhwque.a
|
||||||
-@echo ' '
|
-@echo ' '
|
||||||
|
|
||||||
.PHONY: all clean dependents
|
.PHONY: all clean dependents
|
||||||
|
|
||||||
-include ../makefile.targets
|
|
20
public/rtos/code/hw_q_code/obj/subdir.mk
Normal file
20
public/rtos/code/hw_q_code/obj/subdir.mk
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
|
||||||
|
C_SRCS += ./src/hwque.c
|
||||||
|
|
||||||
|
OBJS += ./obj/hwque.o
|
||||||
|
|
||||||
|
C_DEPS += ./obj/hwque.d
|
||||||
|
|
||||||
|
obj/%.o: ./src/%.c
|
||||||
|
@echo 'Building file: $<'
|
||||||
|
@echo 'Invoking: Clang'
|
||||||
|
/public/share/tools/msdk/toolchain/bin/ucp2/clang --target=ucps2 $(INCS) -I./inc -I/public/share/tools/msdk/toolchain/include/ucp2/newlib -I/public/share/tools/msdk/toolchain/include/ucp2/llvm -O2 -Wno-constant-conversion -nostdlibinc -MMD -MP -o "$@" -c "$<"
|
||||||
|
@echo 'Finished building: $<'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
|
Binary file not shown.
42
public/rtos/code/interrupt_code/makefile
Normal file
42
public/rtos/code/interrupt_code/makefile
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# set toolchain home
|
||||||
|
ifeq ($(strip $(MaPU_TC_HOME)),)
|
||||||
|
MaPU_TC_HOME := /public/share/tools/msdk/toolchain
|
||||||
|
endif
|
||||||
|
|
||||||
|
RM := rm -rf
|
||||||
|
APP: all
|
||||||
|
LIB: libinterrupt.a
|
||||||
|
.PHONY: LIB APP
|
||||||
|
|
||||||
|
# All of the sources participating in the build are defined here
|
||||||
|
-include ./obj/subdir.mk
|
||||||
|
|
||||||
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
|
ifneq ($(strip $(C_DEPS)),)
|
||||||
|
-include $(C_DEPS)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
|
||||||
|
# All Target
|
||||||
|
all: libinterrupt.a
|
||||||
|
|
||||||
|
# Tool invocations
|
||||||
|
libinterrupt.a: $(OBJS)
|
||||||
|
@echo 'Building target: $@'
|
||||||
|
@echo 'Invoking: GNU archiver'
|
||||||
|
ar rcs "./lib/libinterrupt.a" $(USER_OBJS) $(OBJS) $(LIBS)
|
||||||
|
@echo 'Finished building target: $@'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
# Other Targets
|
||||||
|
clean:
|
||||||
|
-$(RM) ./obj/*.o ./obj/*.d ./lib/libinterrupt.a
|
||||||
|
-@echo ' '
|
||||||
|
|
||||||
|
.PHONY: all clean dependents
|
37
public/rtos/code/interrupt_code/obj/subdir.mk
Normal file
37
public/rtos/code/interrupt_code/obj/subdir.mk
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
ASM_SRCS += \
|
||||||
|
./src/__ucps2_interrupt.s.asm
|
||||||
|
|
||||||
|
C_SRCS += \
|
||||||
|
./src/alg.s.c \
|
||||||
|
./src/inter_vector.s.c
|
||||||
|
|
||||||
|
OBJS += \
|
||||||
|
./obj/__ucps2_interrupt.s.o \
|
||||||
|
./obj/alg.s.o \
|
||||||
|
./obj/inter_vector.s.o
|
||||||
|
|
||||||
|
C_DEPS += \
|
||||||
|
./obj/alg.s.d \
|
||||||
|
./obj/inter_vector.s.d
|
||||||
|
|
||||||
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
obj/__ucps2_interrupt.s.o: ./src/__ucps2_interrupt.s.asm
|
||||||
|
@echo 'Building file: $<'
|
||||||
|
@echo 'Invoking: llvm-mc Assembler'
|
||||||
|
$(MaPU_TC_HOME)/bin/ucp2/llvm-mc -arch=ucps2 -I./inc -filetype=obj -o "$@" "$<"
|
||||||
|
@echo 'Finished building: $<'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
obj/%.o: ./src/%.c
|
||||||
|
@echo 'Building file: $<'
|
||||||
|
@echo 'Invoking: Clang'
|
||||||
|
/public/share/tools/msdk/toolchain/bin/ucp2/clang --target=ucps2 $(INCS) -I./inc -I/public/share/tools/msdk/toolchain/include/ucp2/newlib -I/public/share/tools/msdk/toolchain/include/ucp2/llvm -O2 -Wno-constant-conversion -nostdlibinc -MMD -MP -o "$@" -c "$<"
|
||||||
|
@echo 'Finished building: $<'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
|
@ -1,133 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
|
||||||
<cconfiguration id="com.smartlogic.mapu.build.ucp2.staticlib.debug.355068173">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.smartlogic.mapu.build.ucp2.staticlib.debug.355068173" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
|
||||||
<externalSettings>
|
|
||||||
<externalSetting>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/smartos"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/smartos (org)"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/smartos/Debug"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/smartos (org)/Debug"/>
|
|
||||||
<entry flags="RESOLVED" kind="libraryFile" name="smartos" srcPrefixMapping="" srcRootPath=""/>
|
|
||||||
</externalSetting>
|
|
||||||
</externalSettings>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<configuration artifactExtension="a" artifactName="smartos" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" id="com.smartlogic.mapu.build.ucp2.staticlib.debug.355068173" name="Debug" parent="com.smartlogic.mapu.build.ucp2.staticlib.debug" postannouncebuildStep="" postbuildStep="">
|
|
||||||
<folderInfo id="com.smartlogic.mapu.build.ucp2.staticlib.debug.355068173." name="/" resourcePath="">
|
|
||||||
<toolChain id="com.smartlogic.mapu.build.toolChain.ucp2.staticlib.debug.1551681345" name="UCP2 static Toolchain" superClass="com.smartlogic.mapu.build.toolChain.ucp2.staticlib.debug">
|
|
||||||
<targetPlatform archList="ucps2,ucpm2" binaryParser="org.eclipse.cdt.core.ELF" id="com.smartlogic.mapu.build.static.targetPlatform.ucp2.1763670238" isAbstract="false" name="MaPU UCP2 Platform" osList="all" superClass="com.smartlogic.mapu.build.static.targetPlatform.ucp2"/>
|
|
||||||
<builder buildPath="${workspace_loc:/smartos}/Debug" id="com.smartlogic.mapu.build.builder.ucp2.staticlib.576046733" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.smartlogic.mapu.build.builder.ucp2.staticlib"/>
|
|
||||||
<tool id="cdt.mapu.managedbuild.tool.llvm.c.compiler.lib.ucp2.278684581" name="Clang" superClass="cdt.mapu.managedbuild.tool.llvm.c.compiler.lib.ucp2">
|
|
||||||
<option id="mapu.llvm.c_cpp.compiler.option.optimization.level.1616323216" name="Optimization Level" superClass="mapu.llvm.c_cpp.compiler.option.optimization.level" value="mapu.llvm.c_cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
|
||||||
<option id="mapu.llvm.c_cpp.compiler.option.debugging.level.491384193" name="Debug Level" superClass="mapu.llvm.c_cpp.compiler.option.debugging.level"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="mapu.llvm.c_cpp.compiler.option.include.paths.956987127" name="Include paths (-I)" superClass="mapu.llvm.c_cpp.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value="../inc"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="cdt.mapu.managedbuild.tool.llvm.c.compiler.input1.716287209" superClass="cdt.mapu.managedbuild.tool.llvm.c.compiler.input1"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1375741582" name="llvm-mc Assembler" superClass="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib">
|
|
||||||
<option id="com.smartlogic.mapu.build.option.llvmmc.debugging.382408389" name="Debug Level" superClass="com.smartlogic.mapu.build.option.llvmmc.debugging"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="mapu.llvmmc.compiler.option.include.paths.1598293774" name="Include" superClass="mapu.llvmmc.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value="../inc"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="com.smartlogic.mapu.build.inputType.llvmmc.input.1024772144" superClass="com.smartlogic.mapu.build.inputType.llvmmc.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.smartlogic.mapu.build.static.tool.gnu.ucp2.1167168080" name="GNU archiver" superClass="com.smartlogic.mapu.build.static.tool.gnu.ucp2"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<fileInfo id="com.smartlogic.mapu.build.ucp2.staticlib.debug.355068173.Src/__ucps2_interrupt.s.asm" name="__ucps2_interrupt.s.asm" rcbsApplicability="disable" resourcePath="Src/__ucps2_interrupt.s.asm" toolsToInvoke="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1375741582.695724819">
|
|
||||||
<tool id="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1375741582.695724819" name="llvm-mc Assembler" superClass="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1375741582">
|
|
||||||
<option id="com.smartlogic.mapu.build.option.llvmmc.arch.155971805" name="arch (-arch)" superClass="com.smartlogic.mapu.build.option.llvmmc.arch" useByScannerDiscovery="false" value="com.smartlogic.mapu.build.llvmmc.arch.ucps2" valueType="enumerated"/>
|
|
||||||
<inputType id="com.smartlogic.mapu.build.inputType.llvmmc.input.1967145702" superClass="com.smartlogic.mapu.build.inputType.llvmmc.input"/>
|
|
||||||
</tool>
|
|
||||||
</fileInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Src"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="dmdata"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="lib"/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
<cconfiguration id="com.smartlogic.mapu.build.ucp2.staticlib.release.735433344">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.smartlogic.mapu.build.ucp2.staticlib.release.735433344" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
|
||||||
<externalSettings>
|
|
||||||
<externalSetting>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/smartos"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/smartos/Release"/>
|
|
||||||
<entry flags="RESOLVED" kind="libraryFile" name="smartos" srcPrefixMapping="" srcRootPath=""/>
|
|
||||||
</externalSetting>
|
|
||||||
</externalSettings>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" id="com.smartlogic.mapu.build.ucp2.staticlib.release.735433344" name="Release" parent="com.smartlogic.mapu.build.ucp2.staticlib.release">
|
|
||||||
<folderInfo id="com.smartlogic.mapu.build.ucp2.staticlib.release.735433344." name="/" resourcePath="">
|
|
||||||
<toolChain id="com.smartlogic.mapu.build.toolChain.ucp2.staticlib.release.1309393712" name="UCP2 static Toolchain" superClass="com.smartlogic.mapu.build.toolChain.ucp2.staticlib.release">
|
|
||||||
<targetPlatform archList="ucps2,ucpm2" binaryParser="org.eclipse.cdt.core.ELF" id="com.smartlogic.mapu.build.static.targetPlatform.ucp2.1078006664" isAbstract="false" name="MaPU UCP2 Platform" osList="all" superClass="com.smartlogic.mapu.build.static.targetPlatform.ucp2"/>
|
|
||||||
<builder buildPath="${workspace_loc:/smartos}/Release" id="com.smartlogic.mapu.build.builder.ucp2.staticlib.781809841" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.smartlogic.mapu.build.builder.ucp2.staticlib"/>
|
|
||||||
<tool id="cdt.mapu.managedbuild.tool.llvm.c.compiler.lib.ucp2.1784896318" name="Clang" superClass="cdt.mapu.managedbuild.tool.llvm.c.compiler.lib.ucp2">
|
|
||||||
<option id="mapu.llvm.c_cpp.compiler.option.optimization.level.1827952407" name="Optimization Level" superClass="mapu.llvm.c_cpp.compiler.option.optimization.level"/>
|
|
||||||
<option id="mapu.llvm.c_cpp.compiler.option.debugging.level.1979730779" name="Debug Level" superClass="mapu.llvm.c_cpp.compiler.option.debugging.level" value="mapu.llvm.c_cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="mapu.llvm.c_cpp.compiler.option.include.paths.1914835761" name="Include paths (-I)" superClass="mapu.llvm.c_cpp.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value="../inc"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="cdt.mapu.managedbuild.tool.llvm.c.compiler.input1.433384110" superClass="cdt.mapu.managedbuild.tool.llvm.c.compiler.input1"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1215730428" name="llvm-mc Assembler" superClass="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib">
|
|
||||||
<option id="com.smartlogic.mapu.build.option.llvmmc.debugging.803298659" name="Debug Level" superClass="com.smartlogic.mapu.build.option.llvmmc.debugging" value="com.smartlogic.mapu.build.option.llvmmc.debugging.none" valueType="enumerated"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="mapu.llvmmc.compiler.option.include.paths.16192529" name="Include" superClass="mapu.llvmmc.compiler.option.include.paths" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value="../inc"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="com.smartlogic.mapu.build.inputType.llvmmc.input.176279101" superClass="com.smartlogic.mapu.build.inputType.llvmmc.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.smartlogic.mapu.build.static.tool.gnu.ucp2.589688075" name="GNU archiver" superClass="com.smartlogic.mapu.build.static.tool.gnu.ucp2"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<fileInfo id="com.smartlogic.mapu.build.ucp2.staticlib.release.735433344.Src/__ucps2_interrupt.s.asm" name="__ucps2_interrupt.s.asm" rcbsApplicability="disable" resourcePath="Src/__ucps2_interrupt.s.asm" toolsToInvoke="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1215730428.539433012">
|
|
||||||
<tool id="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1215730428.539433012" name="llvm-mc Assembler" superClass="com.smartlogic.mapu.build.static.tool.llvmmc.ucp2.lib.1215730428">
|
|
||||||
<option id="com.smartlogic.mapu.build.option.llvmmc.arch.202767223" name="arch (-arch)" superClass="com.smartlogic.mapu.build.option.llvmmc.arch" useByScannerDiscovery="false" value="com.smartlogic.mapu.build.llvmmc.arch.ucps2" valueType="enumerated"/>
|
|
||||||
<inputType id="com.smartlogic.mapu.build.inputType.llvmmc.input.1556230708" superClass="com.smartlogic.mapu.build.inputType.llvmmc.input"/>
|
|
||||||
</tool>
|
|
||||||
</fileInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Src"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="dmdata"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="lib"/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<project id="smartos.com.smartlogic.mapu.build.projectType.ucp2.staticlib.1926390646" name="Static Library" projectType="com.smartlogic.mapu.build.projectType.ucp2.staticlib"/>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="scannerConfiguration">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
|
||||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
|
||||||
<configuration configurationName="Debug">
|
|
||||||
<resource resourceType="PROJECT" workspacePath="/smartos (org)"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration configurationName="Release">
|
|
||||||
<resource resourceType="PROJECT" workspacePath="/smartos (org)"/>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
|
||||||
</cproject>
|
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"project": {
|
|
||||||
"incList": [
|
|
||||||
"../inc"
|
|
||||||
],
|
|
||||||
"libList": []
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>smartos</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
|
||||||
<triggers>clean,full,incremental,</triggers>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
|
||||||
<triggers>full,incremental,</triggers>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
|
||||||
<nature>com.smartlogic.mapu.build.staticlibrary.libraryNature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
@ -1,5 +0,0 @@
|
|||||||
eclipse.preferences.version=1
|
|
||||||
environment/project/com.smartlogic.mapu.build.ucp2.staticlib.debug.355068173/append=true
|
|
||||||
environment/project/com.smartlogic.mapu.build.ucp2.staticlib.debug.355068173/appendContributed=true
|
|
||||||
environment/project/com.smartlogic.mapu.build.ucp2.staticlib.release.735433344/append=true
|
|
||||||
environment/project/com.smartlogic.mapu.build.ucp2.staticlib.release.735433344/appendContributed=true
|
|
BIN
public/rtos/code/smartos_code/lib/libsmartos.a
Normal file
BIN
public/rtos/code/smartos_code/lib/libsmartos.a
Normal file
Binary file not shown.
@ -1,14 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
USER_OBJS :=
|
|
||||||
|
|
||||||
LIBS :=
|
|
||||||
|
|
||||||
LIBS +=
|
|
||||||
|
|
||||||
LIBDIRS :=
|
|
||||||
|
|
||||||
INCS :=
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
ASM_SRCS :=
|
|
||||||
C_SRCS :=
|
|
||||||
O_SRCS :=
|
|
||||||
LIB :=
|
|
||||||
OBJS :=
|
|
||||||
C_DEPS :=
|
|
||||||
|
|
||||||
# Every subdirectory with source files must be described here
|
|
||||||
SUBDIRS := \
|
|
||||||
Src \
|
|
||||||
|
|
@ -1,98 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
ASM_SRCS += \
|
|
||||||
../Src/__ucps2_interrupt.s.asm
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../Src/alg.s.c \
|
|
||||||
../Src/debug.s.c \
|
|
||||||
../Src/func_lib_ape.c \
|
|
||||||
../Src/inter_vector.s.c \
|
|
||||||
../Src/mailbox.s.c \
|
|
||||||
../Src/os_core.s.c \
|
|
||||||
../Src/os_cpu_c.s.c \
|
|
||||||
../Src/os_dbg_r.s.c \
|
|
||||||
../Src/os_flag.s.c \
|
|
||||||
../Src/os_mbox.s.c \
|
|
||||||
../Src/os_mem.s.c \
|
|
||||||
../Src/os_mutex.s.c \
|
|
||||||
../Src/os_q.s.c \
|
|
||||||
../Src/os_sem.s.c \
|
|
||||||
../Src/os_task.s.c \
|
|
||||||
../Src/os_time.s.c \
|
|
||||||
../Src/os_tmr.s.c \
|
|
||||||
../Src/os_ucp.s.c \
|
|
||||||
../Src/sem.s.c \
|
|
||||||
../Src/smartos.s.c \
|
|
||||||
../Src/timer.s.c \
|
|
||||||
../Src/ucos_ii.s.c
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./Lib/__ucps2_interrupt.s.o \
|
|
||||||
./Lib/alg.s.o \
|
|
||||||
./Lib/debug.s.o \
|
|
||||||
./Lib/func_lib_ape.o \
|
|
||||||
./Lib/inter_vector.s.o \
|
|
||||||
./Lib/mailbox.s.o \
|
|
||||||
./Lib/os_core.s.o \
|
|
||||||
./Lib/os_cpu_c.s.o \
|
|
||||||
./Lib/os_dbg_r.s.o \
|
|
||||||
./Lib/os_flag.s.o \
|
|
||||||
./Lib/os_mbox.s.o \
|
|
||||||
./Lib/os_mem.s.o \
|
|
||||||
./Lib/os_mutex.s.o \
|
|
||||||
./Lib/os_q.s.o \
|
|
||||||
./Lib/os_sem.s.o \
|
|
||||||
./Lib/os_task.s.o \
|
|
||||||
./Lib/os_time.s.o \
|
|
||||||
./Lib/os_tmr.s.o \
|
|
||||||
./Lib/os_ucp.s.o \
|
|
||||||
./Lib/sem.s.o \
|
|
||||||
./Lib/smartos.s.o \
|
|
||||||
./Lib/timer.s.o \
|
|
||||||
./Lib/ucos_ii.s.o
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./Lib/alg.s.d \
|
|
||||||
./Lib/debug.s.d \
|
|
||||||
./Lib/func_lib_ape.d \
|
|
||||||
./Lib/inter_vector.s.d \
|
|
||||||
./Lib/mailbox.s.d \
|
|
||||||
./Lib/os_core.s.d \
|
|
||||||
./Lib/os_cpu_c.s.d \
|
|
||||||
./Lib/os_dbg_r.s.d \
|
|
||||||
./Lib/os_flag.s.d \
|
|
||||||
./Lib/os_mbox.s.d \
|
|
||||||
./Lib/os_mem.s.d \
|
|
||||||
./Lib/os_mutex.s.d \
|
|
||||||
./Lib/os_q.s.d \
|
|
||||||
./Lib/os_sem.s.d \
|
|
||||||
./Lib/os_task.s.d \
|
|
||||||
./Lib/os_time.s.d \
|
|
||||||
./Lib/os_tmr.s.d \
|
|
||||||
./Lib/os_ucp.s.d \
|
|
||||||
./Lib/sem.s.d \
|
|
||||||
./Lib/smartos.s.d \
|
|
||||||
./Lib/timer.s.d \
|
|
||||||
./Lib/ucos_ii.s.d
|
|
||||||
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
|
||||||
Lib/__ucps2_interrupt.s.o: ../Src/__ucps2_interrupt.s.asm
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: llvm-mc Assembler'
|
|
||||||
$(MaPU_TC_HOME)/bin/ucp2/llvm-mc -arch=ucps2 -I../inc -filetype=obj -o "$@" "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
Lib/%.o: ../Src/%.c
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: Clang'
|
|
||||||
/public/share/tools/msdk/toolchain/bin/ucp2/clang --target=ucps2 $(INCS) -I../inc -I/public/share/tools/msdk/toolchain/include/ucp2/newlib -I/public/share/tools/msdk/toolchain/include/ucp2/llvm -O2 -Wno-constant-conversion -nostdlibinc -MMD -MP -o "$@" -c "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
|
|
42
public/rtos/code/smartos_code/makefile
Normal file
42
public/rtos/code/smartos_code/makefile
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# set toolchain home
|
||||||
|
ifeq ($(strip $(MaPU_TC_HOME)),)
|
||||||
|
MaPU_TC_HOME := /public/share/tools/msdk/toolchain
|
||||||
|
endif
|
||||||
|
|
||||||
|
RM := rm -rf
|
||||||
|
APP: all
|
||||||
|
LIB: libsmartos.a
|
||||||
|
.PHONY: LIB APP
|
||||||
|
|
||||||
|
# All of the sources participating in the build are defined here
|
||||||
|
-include ./obj/subdir.mk
|
||||||
|
|
||||||
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
|
ifneq ($(strip $(C_DEPS)),)
|
||||||
|
-include $(C_DEPS)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
|
||||||
|
# All Target
|
||||||
|
all: libsmartos.a
|
||||||
|
|
||||||
|
# Tool invocations
|
||||||
|
libsmartos.a: $(OBJS)
|
||||||
|
@echo 'Building target: $@'
|
||||||
|
@echo 'Invoking: GNU archiver'
|
||||||
|
ar rcs "./lib/libsmartos.a" $(USER_OBJS) $(OBJS) $(LIBS)
|
||||||
|
@echo 'Finished building target: $@'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
# Other Targets
|
||||||
|
clean:
|
||||||
|
-$(RM) ./obj/*.o ./obj/*.d ./lib/libsmartos.a
|
||||||
|
-@echo ' '
|
||||||
|
|
||||||
|
.PHONY: all clean dependents
|
@ -1,12 +0,0 @@
|
|||||||
# set custom targets
|
|
||||||
|
|
||||||
# set toolchain home
|
|
||||||
ifeq ($(strip $(MaPU_TC_HOME)),)
|
|
||||||
MaPU_TC_HOME := /public/share/tools/msdk/toolchain
|
|
||||||
endif
|
|
||||||
|
|
||||||
APP: all
|
|
||||||
|
|
||||||
LIB: libsmartos.a
|
|
||||||
|
|
||||||
.PHONY: LIB APP
|
|
98
public/rtos/code/smartos_code/obj/subdir.mk
Normal file
98
public/rtos/code/smartos_code/obj/subdir.mk
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
ASM_SRCS += \
|
||||||
|
./src/__ucps2_interrupt.s.asm
|
||||||
|
|
||||||
|
C_SRCS += \
|
||||||
|
./src/alg.s.c \
|
||||||
|
./src/debug.s.c \
|
||||||
|
./src/func_lib_ape.c \
|
||||||
|
./src/inter_vector.s.c \
|
||||||
|
./src/mailbox.s.c \
|
||||||
|
./src/os_core.s.c \
|
||||||
|
./src/os_cpu_c.s.c \
|
||||||
|
./src/os_dbg_r.s.c \
|
||||||
|
./src/os_flag.s.c \
|
||||||
|
./src/os_mbox.s.c \
|
||||||
|
./src/os_mem.s.c \
|
||||||
|
./src/os_mutex.s.c \
|
||||||
|
./src/os_q.s.c \
|
||||||
|
./src/os_sem.s.c \
|
||||||
|
./src/os_task.s.c \
|
||||||
|
./src/os_time.s.c \
|
||||||
|
./src/os_tmr.s.c \
|
||||||
|
./src/os_ucp.s.c \
|
||||||
|
./src/sem.s.c \
|
||||||
|
./src/smartos.s.c \
|
||||||
|
./src/timer.s.c \
|
||||||
|
./src/ucos_ii.s.c
|
||||||
|
|
||||||
|
OBJS += \
|
||||||
|
./obj/__ucps2_interrupt.s.o \
|
||||||
|
./obj/alg.s.o \
|
||||||
|
./obj/debug.s.o \
|
||||||
|
./obj/func_lib_ape.o \
|
||||||
|
./obj/inter_vector.s.o \
|
||||||
|
./obj/mailbox.s.o \
|
||||||
|
./obj/os_core.s.o \
|
||||||
|
./obj/os_cpu_c.s.o \
|
||||||
|
./obj/os_dbg_r.s.o \
|
||||||
|
./obj/os_flag.s.o \
|
||||||
|
./obj/os_mbox.s.o \
|
||||||
|
./obj/os_mem.s.o \
|
||||||
|
./obj/os_mutex.s.o \
|
||||||
|
./obj/os_q.s.o \
|
||||||
|
./obj/os_sem.s.o \
|
||||||
|
./obj/os_task.s.o \
|
||||||
|
./obj/os_time.s.o \
|
||||||
|
./obj/os_tmr.s.o \
|
||||||
|
./obj/os_ucp.s.o \
|
||||||
|
./obj/sem.s.o \
|
||||||
|
./obj/smartos.s.o \
|
||||||
|
./obj/timer.s.o \
|
||||||
|
./obj/ucos_ii.s.o
|
||||||
|
|
||||||
|
C_DEPS += \
|
||||||
|
./obj/alg.s.d \
|
||||||
|
./obj/debug.s.d \
|
||||||
|
./obj/func_lib_ape.d \
|
||||||
|
./obj/inter_vector.s.d \
|
||||||
|
./obj/mailbox.s.d \
|
||||||
|
./obj/os_core.s.d \
|
||||||
|
./obj/os_cpu_c.s.d \
|
||||||
|
./obj/os_dbg_r.s.d \
|
||||||
|
./obj/os_flag.s.d \
|
||||||
|
./obj/os_mbox.s.d \
|
||||||
|
./obj/os_mem.s.d \
|
||||||
|
./obj/os_mutex.s.d \
|
||||||
|
./obj/os_q.s.d \
|
||||||
|
./obj/os_sem.s.d \
|
||||||
|
./obj/os_task.s.d \
|
||||||
|
./obj/os_time.s.d \
|
||||||
|
./obj/os_tmr.s.d \
|
||||||
|
./obj/os_ucp.s.d \
|
||||||
|
./obj/sem.s.d \
|
||||||
|
./obj/smartos.s.d \
|
||||||
|
./obj/timer.s.d \
|
||||||
|
./obj/ucos_ii.s.d
|
||||||
|
|
||||||
|
|
||||||
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
|
obj/__ucps2_interrupt.s.o: ./src/__ucps2_interrupt.s.asm
|
||||||
|
@echo 'Building file: $<'
|
||||||
|
@echo 'Invoking: llvm-mc Assembler'
|
||||||
|
$(MaPU_TC_HOME)/bin/ucp2/llvm-mc -arch=ucps2 -I./inc -filetype=obj -o "$@" "$<"
|
||||||
|
@echo 'Finished building: $<'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
obj/%.o: ./src/%.c
|
||||||
|
@echo 'Building file: $<'
|
||||||
|
@echo 'Invoking: Clang'
|
||||||
|
/public/share/tools/msdk/toolchain/bin/ucp2/clang --target=ucps2 $(INCS) -I./inc -I/public/share/tools/msdk/toolchain/include/ucp2/newlib -I/public/share/tools/msdk/toolchain/include/ucp2/llvm -O2 -Wno-constant-conversion -nostdlibinc -MMD -MP -o "$@" -c "$<"
|
||||||
|
@echo 'Finished building: $<'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
|
Binary file not shown.
42
public/rtos/code/spinlock_code/makefile
Normal file
42
public/rtos/code/spinlock_code/makefile
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# set toolchain home
|
||||||
|
ifeq ($(strip $(MaPU_TC_HOME)),)
|
||||||
|
MaPU_TC_HOME := /public/share/tools/msdk/toolchain
|
||||||
|
endif
|
||||||
|
|
||||||
|
RM := rm -rf
|
||||||
|
APP: all
|
||||||
|
LIB: libspinlock.a
|
||||||
|
.PHONY: LIB APP
|
||||||
|
|
||||||
|
# All of the sources participating in the build are defined here
|
||||||
|
-include ./obj/subdir.mk
|
||||||
|
|
||||||
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
|
ifneq ($(strip $(C_DEPS)),)
|
||||||
|
-include $(C_DEPS)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
|
||||||
|
# All Target
|
||||||
|
all: libspinlock.a
|
||||||
|
|
||||||
|
# Tool invocations
|
||||||
|
libspinlock.a: $(OBJS)
|
||||||
|
@echo 'Building target: $@'
|
||||||
|
@echo 'Invoking: GNU archiver'
|
||||||
|
ar rcs "./lib/libspinlock.a" $(USER_OBJS) $(OBJS) $(LIBS)
|
||||||
|
@echo 'Finished building target: $@'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
# Other Targets
|
||||||
|
clean:
|
||||||
|
-$(RM) ./obj/*.o ./obj/*.d ./lib/libspinlock.a
|
||||||
|
-@echo ' '
|
||||||
|
|
||||||
|
.PHONY: all clean dependents
|
20
public/rtos/code/spinlock_code/obj/subdir.mk
Normal file
20
public/rtos/code/spinlock_code/obj/subdir.mk
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
|
||||||
|
C_SRCS += ./src/spinlock.s.c
|
||||||
|
|
||||||
|
OBJS += ./obj/spinlock.s.o
|
||||||
|
|
||||||
|
C_DEPS += ./obj/spinlock.s.d
|
||||||
|
|
||||||
|
obj/%.o: ./src/%.c
|
||||||
|
@echo 'Building file: $<'
|
||||||
|
@echo 'Invoking: Clang'
|
||||||
|
/public/share/tools/msdk/toolchain/bin/ucp2/clang --target=ucps2 $(INCS) -I./inc -I/public/share/tools/msdk/toolchain/include/ucp2/newlib -I/public/share/tools/msdk/toolchain/include/ucp2/llvm -O2 -Wno-constant-conversion -nostdlibinc -MMD -MP -o "$@" -c "$<"
|
||||||
|
@echo 'Finished building: $<'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user