mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
base-linux: src/lib/initramfs -> /src/initramfs
Move the target for initramfs outside the src/lib/ directory because target.mk files within src/lib/ are no longer reachable. Issue #4599
This commit is contained in:
parent
bc57e9e647
commit
88e13bb236
@ -12,5 +12,5 @@ content:
|
||||
sed -i "s/BOARD.*unknown/BOARD := linux/" lib/mk/core-linux.inc
|
||||
sed -i "s/ld-linux/ld/" src/lib/ld/linux/target.mk
|
||||
sed -i "s/linux_timer_drv/timer/" src/timer/linux/target.mk
|
||||
rm -rf src/lib/initramfs
|
||||
rm -rf src/initramfs
|
||||
|
||||
|
@ -5,14 +5,14 @@ REQUIRES = x86_64
|
||||
INITRAMFS = initramfs
|
||||
INITRAMFS_SRC_C = init.c
|
||||
|
||||
EXT_OBJECTS += $(BUILD_BASE_DIR)/lib/initramfs/$(INITRAMFS)
|
||||
EXT_OBJECTS += $(BUILD_BASE_DIR)/initramfs/$(INITRAMFS)
|
||||
|
||||
$(TARGET): $(INITRAMFS)
|
||||
|
||||
$(INITRAMFS): $(INITRAMFS_SRC_C)
|
||||
$(MSG_BUILD)$(INITRAMFS)
|
||||
$(VERBOSE)gcc $^ -O0 $(CC_MARCH) -Wall -W -Wextra -Werror -std=gnu99 -o $@ -Wl,-O3 -Wl,--as-needed -static
|
||||
$(VERBOSE)ln -sf $(BUILD_BASE_DIR)/lib/initramfs/$(INITRAMFS) $(BUILD_BASE_DIR)/bin/
|
||||
$(VERBOSE)ln -sf $(BUILD_BASE_DIR)/initramfs/$(INITRAMFS) $(BUILD_BASE_DIR)/bin/
|
||||
|
||||
clean_initramfs:
|
||||
$(VERBOSE)rm -rf $(INITRAMFS)
|
Loading…
Reference in New Issue
Block a user