LED builds now.
This commit is contained in:
parent
2dab95eced
commit
a42939df50
|
@ -25,6 +25,7 @@ installable {
|
|||
"util/ack+pkg",
|
||||
"util/amisc+pkg",
|
||||
"util/arch+pkg",
|
||||
"util/led+pkg",
|
||||
"util/misc+pkg",
|
||||
"util/opt+pkg",
|
||||
}
|
||||
|
|
19
util/led/build.lua
Normal file
19
util/led/build.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
cprogram {
|
||||
name = "led",
|
||||
srcs = { "./*.c" },
|
||||
deps = {
|
||||
"modules/src/string+lib",
|
||||
"modules/src/object+lib",
|
||||
"h+emheaders",
|
||||
}
|
||||
}
|
||||
|
||||
installable {
|
||||
name = "pkg",
|
||||
map = {
|
||||
["$(INSDIR)/share/man/man5/ack.out.5"] = "./ack.out.5",
|
||||
["$(INSDIR)/share/man/man6/led.6"] = "./led.6",
|
||||
["$(PLATDEP)/em_led"] = "+led",
|
||||
}
|
||||
}
|
||||
|
|
@ -73,7 +73,7 @@ init_core()
|
|||
register struct memory *mem;
|
||||
extern char *sbrk();
|
||||
|
||||
#include "mach.c"
|
||||
#include "mach.h"
|
||||
#define ALIGN 8 /* minimum alignment for pieces */
|
||||
#define AT_LEAST (ind_t)2*ALIGN /* See comment about string areas. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue