mirror of
https://github.com/drasko/codezero.git
synced 2026-04-03 02:29:06 +02:00
The Elf library doesn't actually depend on the baremetal library since there is no link phase, remove the dependency.
This commit is contained in:
@@ -17,10 +17,9 @@
|
|||||||
#
|
#
|
||||||
# Author: Russel Winder
|
# Author: Russel Winder
|
||||||
|
|
||||||
Import ( 'environment' , 'lib' )
|
Import ( 'environment' )
|
||||||
|
|
||||||
e = environment.Clone ( )
|
e = environment.Clone ( )
|
||||||
e.Append ( LIBS = lib )
|
|
||||||
e.Append ( CPPPATH = [ 'include' , '#libs/c/include' , '#libs/c/include/arch/' + e['ARCH'] ] )
|
e.Append ( CPPPATH = [ 'include' , '#libs/c/include' , '#libs/c/include/arch/' + e['ARCH'] ] )
|
||||||
|
|
||||||
result = e.StaticLibrary ( 'elf' , Glob ( 'src/*.c' ) )
|
result = e.StaticLibrary ( 'elf' , Glob ( 'src/*.c' ) )
|
||||||
|
|||||||
Reference in New Issue
Block a user