Browse Source

change: 拆解cmux和shell为单独的component

Wendal Chen 4 years ago
parent
commit
c92505ae67
1 changed files with 6 additions and 0 deletions
  1. 6 0
      xmake.lua

+ 6 - 0
xmake.lua

@@ -314,6 +314,12 @@ target("air10x")
     add_includedirs(luatos.."components/flashdb/inc")
     add_files(luatos.."components/flashdb/src/*.c")
 
+    -- shell & cmux
+    add_includedirs(luatos.."components/shell",{public = true})
+    add_includedirs(luatos.."components/cmux",{public = true})
+    add_files(luatos.."components/shell/*.c")
+    add_files(luatos.."components/cmux/*.c")
+
 	after_build(function(target)
         sdk_dir = target:toolchains()[1]:sdkdir().."/"
         os.exec(sdk_dir .. "bin/csky-elfabiv2-objcopy -O binary $(buildir)/out/"..TARGET_NAME..".elf $(buildir)/out/"..TARGET_NAME..".bin")