mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-19 05:13:04 +08:00
[bsp][raspberry-pico]: adjust file structure
This commit is contained in:
@@ -38,7 +38,7 @@ os.chdir(ocwd)
|
||||
|
||||
objs.extend(SConscript(os.path.join(os.getcwd(), 'board', 'ports', 'SConscript')))
|
||||
|
||||
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'Drivers', 'SConscript')))
|
||||
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'libraries', 'Drivers', 'SConscript')))
|
||||
|
||||
# make a building
|
||||
DoBuilding(TARGET, objs)
|
||||
|
||||
@@ -36,7 +36,7 @@ else:
|
||||
os.system("scons")
|
||||
os.chdir(ocwd)
|
||||
|
||||
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'Drivers', 'SConscript')))
|
||||
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'libraries', 'Drivers', 'SConscript')))
|
||||
|
||||
# make a building
|
||||
DoBuilding(TARGET, objs)
|
||||
|
||||
@@ -6,6 +6,6 @@ def dist_do_building(BSP_ROOT, dist_dir):
|
||||
|
||||
print("=> copy raspberry-pico drivers")
|
||||
bsp_copy_files(
|
||||
os.path.join(os.path.dirname(BSP_ROOT), 'Drivers'),
|
||||
os.path.join(os.path.dirname(dist_dir), 'Drivers'),
|
||||
os.path.join(os.path.dirname(BSP_ROOT), 'libraries', 'Drivers'),
|
||||
os.path.join(os.path.dirname(dist_dir), 'libraries', 'Drivers'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user