git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: one more step towards arch-agnostic design
[lunaix-os.git]
/
lunaix-os
/
kernel.mk
diff --git
a/lunaix-os/kernel.mk
b/lunaix-os/kernel.mk
index 1c07c908c0ca53730e7d5dfd888eee7513ae9df0..c8447033ed6ac35a4db9a2ddd8d02184895dec69 100644
(file)
--- a/
lunaix-os/kernel.mk
+++ b/
lunaix-os/kernel.mk
@@
-4,7
+4,6
@@
include toolchain.mkinc
define ksrc_dirs
kernel
hal
define ksrc_dirs
kernel
hal
- debug
libs
arch/$(ARCH)
endef
libs
arch/$(ARCH)
endef
@@
-39,7
+38,11
@@
$(kbin): $(ksrc_objs) $(kbin_dir)
$(call status_,LD,$@)
@$(CC) -T link/linker.ld -o $(kbin) $(ksrc_objs) $(LDFLAGS)
$(call status_,LD,$@)
@$(CC) -T link/linker.ld -o $(kbin) $(ksrc_objs) $(LDFLAGS)
-all: $(kbin)
+$(kbin_dir)/modksyms: $(kbin)
+ $(call status_,GEN,$@)
+ @$(PY) scripts/syms_export.py --bits=32 --order=little -o "$@" "$<"
+
+all: $(kbin) $(kbin_dir)/modksyms
clean:
@rm -f $(ksrc_objs)
\ No newline at end of file
clean:
@rm -f $(ksrc_objs)
\ No newline at end of file