Changes in uspace/Makefile [83b64a59:13eecc4] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r83b64a59 r13eecc4  
    169169        drv/char/ns8250 \
    170170        drv/char/pc-lpt \
    171         drv/char/pl011 \
    172171        drv/char/pl050 \
    173172        drv/char/ski-con \
     
    182181        drv/hid/xtkbd \
    183182        drv/intctl/apic \
    184         drv/intctl/gicv2 \
    185183        drv/intctl/i8259 \
    186184        drv/intctl/icp-ic \
     
    193191        drv/nic/virtio-net \
    194192        drv/platform/amdm37x \
    195         drv/platform/arm64virt \
    196193        drv/platform/icp \
    197194        drv/platform/mac \
     
    223220#
    224221
    225 DIRS += \
     222BASE_LIBS = \
     223        lib/c \
     224        lib/cpp \
     225        lib/untar
     226
     227LIBS = \
    226228        lib/fs \
    227229        lib/block \
    228         lib/c \
    229         lib/cpp \
    230230        lib/crypto \
    231231        lib/clui \
     
    250250        lib/ext4 \
    251251        lib/trackmod \
    252         lib/untar \
    253252        lib/uri \
    254253        lib/usb \
     
    264263        lib/virtio
    265264
    266 BUILDS := $(addsuffix .build,$(DIRS))
    267 BUILDS_TESTS := $(addsuffix .build-test,$(DIRS))
    268 DEPS = $(addsuffix /deps.mk,$(DIRS))
    269 CLEANS := $(addsuffix .clean,$(DIRS))
    270 
    271 .PHONY: all $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean export
     265BASE_BUILDS := $(addsuffix .build,$(BASE_LIBS))
     266BUILDS := $(addsuffix .build,$(DIRS) $(LIBS))
     267BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) $(BASE_LIBS))
     268DEPS = $(addsuffix /deps.mk,$(DIRS) $(LIBS))
     269CLEANS := $(addsuffix .clean,$(DIRS) $(LIBS) $(BASE_LIBS))
     270
     271.PHONY: all $(BASE_BUILDS) $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean export
    272272
    273273all: $(BUILDS) $(BUILDS_TESTS)
    274274
    275 $(BUILDS_TESTS): $(BUILDS)
     275$(BUILDS_TESTS): $(BASE_BUILDS) $(BUILDS)
    276276        $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK)
    277277
     
    289289        -$(MAKE) -r -C $(basename $@) fasterclean
    290290
    291 $(BUILDS):
     291$(BASE_BUILDS) $(BUILDS):
    292292        $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
    293293
     
    295295        $(MAKE) -r -C $(@D) deps.mk SELF_TARGET="$(@D).build"
    296296
     297$(BUILDS): $(BASE_BUILDS)
     298
    297299-include $(DEPS)
Note: See TracChangeset for help on using the changeset viewer.