[build] first pass at multiarch support
Changing bonnibel to respect the --arch flag to configure. This requires some reworking of modules, mostly in the addition of the ModuleList class instead of just a dict of modules.
This commit is contained in:
@@ -14,10 +14,14 @@ j6 = module("j6",
|
||||
"protocols/service_locator.cpp",
|
||||
"protocols/vfs.cpp",
|
||||
"ring_buffer.cpp",
|
||||
"syscalls.s.cog",
|
||||
"sysconf.cpp.cog",
|
||||
"syslog.cpp",
|
||||
],
|
||||
arch_source = {
|
||||
"amd64": [
|
||||
"syscalls.s.cog",
|
||||
],
|
||||
},
|
||||
public_headers = [
|
||||
"j6/cap_flags.h.cog",
|
||||
"j6/channel.hh",
|
||||
|
||||
Reference in New Issue
Block a user