Remove hardcoded buildroot from kernel makefile and gdbinit

This commit is contained in:
2017-10-29 21:07:37 +01:00
parent 0f8d38938b
commit d7560b775c
2 changed files with 9 additions and 5 deletions

View File

@@ -28,11 +28,11 @@ DEPFLAGS = -MT $@ -MMD -MP -MF $*.d
# Copy kernel to sysroot
/opt/sysroot/kernel: kernel
mkdir -p /opt/sysroot
cp kernel /opt/sysroot/kernel
$(BUILDROOT)sysroot/kernel: kernel
mkdir -p $(BUILDROOT)sysroot
cp kernel $(BUILDROOT)sysroot/kernel
install: /opt/sysroot/kernel
install: $(BUILDROOT)sysroot/kernel
clean:
rm -rf $(OBJ) $(DEP) kernel