mirror of
https://github.com/drasko/codezero.git
synced 2026-02-20 05:43:15 +01:00
Changes since April
Clean up of build directories. Simplifications to capability model.
This commit is contained in:
23
conts/userlibs/libdev/clcd/pl110/SConscript
Normal file
23
conts/userlibs/libdev/clcd/pl110/SConscript
Normal file
@@ -0,0 +1,23 @@
|
||||
import sys
|
||||
Import('env')
|
||||
|
||||
# Get global paths
|
||||
PROJRELROOT = '../../../'
|
||||
sys.path.append(PROJRELROOT)
|
||||
|
||||
from scripts.config.configuration import *
|
||||
config = configuration_retrieve()
|
||||
platform = config.platform
|
||||
|
||||
#Platforms using pl110
|
||||
plat_list = ('eb', 'pba9', 'pb926')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = []
|
||||
|
||||
for plat_supported in plat_list:
|
||||
if plat_supported == platform:
|
||||
src_local += Glob('*.c')
|
||||
|
||||
obj = env.StaticObject(src_local)
|
||||
Return('obj')
|
||||
3
conts/userlibs/libdev/clcd/pl110/clcd.c
Normal file
3
conts/userlibs/libdev/clcd/pl110/clcd.c
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
|
||||
5
conts/userlibs/libdev/clcd/pl110/clcd.h
Normal file
5
conts/userlibs/libdev/clcd/pl110/clcd.h
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
#ifndef __CLCD_H__
|
||||
#define __CLCD_H__
|
||||
|
||||
#endif /* __CLCD_H__ */
|
||||
Reference in New Issue
Block a user