summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bootstrap/Makefile4
-rw-r--r--bootstrap/TODO3
-rw-r--r--bootstrap/stage1/Makefile1
3 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap/Makefile b/bootstrap/Makefile
index 665a26d..f65f800 100644
--- a/bootstrap/Makefile
+++ b/bootstrap/Makefile
@@ -15,14 +15,12 @@
# You should have received a copy of the GNU General Public License along with
# BoxOS; if not, see <https://www.gnu.org/licenses/>.
-include $(ROOTDIR)/build.conf
-
ifeq ($(BS_DEBUG),YES)
AFLAGS+=-g
CFLAGS+=-g
endif
-export VERSION ROOTDIR DESTDIR AFLAGS CFLAGS
+export AFLAGS CFLAGS
SUBDIRS:=stage1 \
stage2 \
diff --git a/bootstrap/TODO b/bootstrap/TODO
new file mode 100644
index 0000000..0347757
--- /dev/null
+++ b/bootstrap/TODO
@@ -0,0 +1,3 @@
+* Make a common include directory for headers common to both stages
+* Optimize the UEFI version of stage1
+* Overall decluttering and reformatting
diff --git a/bootstrap/stage1/Makefile b/bootstrap/stage1/Makefile
index b80a16b..3cf7437 100644
--- a/bootstrap/stage1/Makefile
+++ b/bootstrap/stage1/Makefile
@@ -45,6 +45,7 @@ all: $(BINARY)
$(BINARY): $(OBJS)
@$(LD) $(LDFLAGS) $^
+ @echo [LD] $@
%.o: %.c
@$(CC) -MD -c $< -o $@ $(CFLAGS) $(INCLUDE)