Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b2368ff authored by Michal Simek's avatar Michal Simek
Browse files

microblaze_mmu_v2: Makefiles



Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent a116f6d5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
ifeq ($(CONFIG_MMU),y)
UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\"
else
UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\"
endif

# What CPU vesion are we building for, and crack it open
# as major.minor.rev
+2 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ targets := linux.bin linux.bin.gz
OBJCOPYFLAGS_linux.bin  := -O binary

$(obj)/linux.bin: vmlinux FORCE
	[ -n $(CONFIG_INITRAMFS_SOURCE) ] && [ ! -e $(CONFIG_INITRAMFS_SOURCE) ] && \
	touch $(CONFIG_INITRAMFS_SOURCE) || echo "No CPIO image"
	$(call if_changed,objcopy)
	@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'

+1 −0
Original line number Diff line number Diff line
@@ -15,5 +15,6 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_SELFMOD)		+= selfmod.o
obj-$(CONFIG_HEART_BEAT)	+= heartbeat.o
obj-$(CONFIG_MODULES)		+= microblaze_ksyms.o module.o
obj-$(CONFIG_MMU)		+= misc.o

obj-y	+= entry$(MMUEXT).o
+2 −1
Original line number Diff line number Diff line
@@ -10,4 +10,5 @@ else
lib-y += memcpy.o memmove.o
endif

lib-y +=  uaccess.o
lib-$(CONFIG_NO_MMU) += uaccess.o
lib-$(CONFIG_MMU) += uaccess_old.o
+2 −0
Original line number Diff line number Diff line
@@ -3,3 +3,5 @@
#

obj-y := init.o

obj-$(CONFIG_MMU) += pgtable.o mmu_context.o fault.o