mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
hw: rename bootstrap.o to bootstrap-hw.o
In order to deliver base-hw as a binary archive, we need to install the bootstap.o file to bin/. Since bin/ is a global name space shared by all kernels, this patch renames the object file to bootstap-hw.o and thereby clarifies the association of the file with base-hw.
This commit is contained in:
parent
f59a5ef258
commit
962c853e67
@ -1,10 +1,22 @@
|
||||
TARGET = bootstrap
|
||||
LIBS = bootstrap-hw
|
||||
BOOTSTRAP_OBJ = bootstrap.o
|
||||
BOOTSTRAP_OBJ = bootstrap-hw.o
|
||||
|
||||
$(TARGET): $(BOOTSTRAP_OBJ)
|
||||
$(TARGET):
|
||||
$(VERBOSE)true
|
||||
|
||||
ifneq ($(INSTALL_DIR),)
|
||||
ifneq ($(DEBUG_DIR),)
|
||||
$(TARGET): $(INSTALL_DIR)/$(BOOTSTRAP_OBJ)
|
||||
|
||||
$(INSTALL_DIR)/$(BOOTSTRAP_OBJ) : $(DEBUG_DIR)/$(BOOTSTRAP_OBJ)
|
||||
$(VERBOSE)$(STRIP) --strip-debug -o $@ $<
|
||||
|
||||
$(DEBUG_DIR)/$(BOOTSTRAP_OBJ) : $(BOOTSTRAP_OBJ)
|
||||
$(VERBOSE)ln -sf $(CURDIR)/$(BOOTSTRAP_OBJ) $(DEBUG_DIR)/$(BOOTSTRAP_OBJ)
|
||||
endif
|
||||
endif
|
||||
|
||||
.PHONY: $(BOOTSTRAP_OBJ)
|
||||
$(BOOTSTRAP_OBJ):
|
||||
$(VERBOSE)$(LD) $(LD_MARCH) -u _start --whole-archive -r $(LINK_ITEMS) $(LIBCXX_GCC) -o $@
|
||||
|
Loading…
Reference in New Issue
Block a user