29,8 → 29,7 |
## Include configuration |
# |
|
-include ../Makefile.config |
-include ../config.defs |
-include Makefile.config |
|
## Paths |
# |
39,11 → 38,31 |
KERNELDIR = $(BASE)/kernel |
USPACEDIR = $(BASE)/uspace |
|
.PHONY: all build clean generic_clean |
ifeq ($(CONFIG_DEBUG),y) |
DEFS += -DCONFIG_DEBUG |
endif |
|
all: ../Makefile.config ../config.h ../config.defs build |
ifeq ($(CONFIG_BAT),y) |
DEFS += -DCONFIG_BAT |
endif |
|
-include arch/$(BARCH)/Makefile.inc |
ifeq ($(CONFIG_SMP),y) |
DEFS += -DCONFIG_SMP |
endif |
|
.PHONY: all build config distclean clean generic_clean |
|
all: |
../tools/config.py boot.config default $(ARCH) $(COMPILER) $(CONFIG_DEBUG) $(IMAGE) |
$(MAKE) -C . build |
|
-include arch/$(ARCH)/Makefile.inc |
|
config: |
../tools/config.py boot.config |
|
distclean: clean |
-rm Makefile.config |
|
generic_clean: |
-rm generic/*.o genarch/*.o |