scan acpi bus and create device tree
git-svn-id: svn://kolibrios.org@1625 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6976fe6967
commit
2e0a186ba0
@ -19,7 +19,7 @@ LDFLAGS = -nostdlib -shared -s -Map acpi.map --image-base 0\
|
|||||||
|
|
||||||
LIBPATH:= -L$(DRV_DIR)/ddk -L./acpica
|
LIBPATH:= -L$(DRV_DIR)/ddk -L./acpica
|
||||||
|
|
||||||
LIBS:= -lacpica -lgcc -ldrv -lcore
|
LIBS:= -lacpica -lgcc -lddk -lcore
|
||||||
|
|
||||||
|
|
||||||
NAME= acpi
|
NAME= acpi
|
||||||
@ -35,6 +35,7 @@ NAME_OBJS = $(patsubst %.S, %.o, $(patsubst %.asm, %.o,\
|
|||||||
|
|
||||||
$(NAME).dll: $(NAME_OBJS) acpi.lds Makefile
|
$(NAME).dll: $(NAME_OBJS) acpi.lds Makefile
|
||||||
ld $(LIBPATH) $(LDFLAGS) -T acpi.lds -o $@ $(NAME_OBJS) $(LIBS)
|
ld $(LIBPATH) $(LDFLAGS) -T acpi.lds -o $@ $(NAME_OBJS) $(LIBS)
|
||||||
|
kpack $(NAME).dll
|
||||||
|
|
||||||
%.o : %.c $(HFILES) Makefile
|
%.o : %.c $(HFILES) Makefile
|
||||||
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
|
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user