microblaze_mmu_v2: Makefiles
Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
a116f6d5db
commit
4b2368ffd6
|
@ -1,4 +1,8 @@
|
||||||
|
ifeq ($(CONFIG_MMU),y)
|
||||||
|
UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\"
|
||||||
|
else
|
||||||
UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\"
|
UTS_SYSNAME = -DUTS_SYSNAME=\"uClinux\"
|
||||||
|
endif
|
||||||
|
|
||||||
# What CPU vesion are we building for, and crack it open
|
# What CPU vesion are we building for, and crack it open
|
||||||
# as major.minor.rev
|
# as major.minor.rev
|
||||||
|
|
|
@ -7,6 +7,8 @@ targets := linux.bin linux.bin.gz
|
||||||
OBJCOPYFLAGS_linux.bin := -O binary
|
OBJCOPYFLAGS_linux.bin := -O binary
|
||||||
|
|
||||||
$(obj)/linux.bin: vmlinux FORCE
|
$(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)
|
$(call if_changed,objcopy)
|
||||||
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
|
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
|
||||||
|
|
||||||
|
|
|
@ -15,5 +15,6 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
||||||
obj-$(CONFIG_SELFMOD) += selfmod.o
|
obj-$(CONFIG_SELFMOD) += selfmod.o
|
||||||
obj-$(CONFIG_HEART_BEAT) += heartbeat.o
|
obj-$(CONFIG_HEART_BEAT) += heartbeat.o
|
||||||
obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
|
obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
|
||||||
|
obj-$(CONFIG_MMU) += misc.o
|
||||||
|
|
||||||
obj-y += entry$(MMUEXT).o
|
obj-y += entry$(MMUEXT).o
|
||||||
|
|
|
@ -10,4 +10,5 @@ else
|
||||||
lib-y += memcpy.o memmove.o
|
lib-y += memcpy.o memmove.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lib-y += uaccess.o
|
lib-$(CONFIG_NO_MMU) += uaccess.o
|
||||||
|
lib-$(CONFIG_MMU) += uaccess_old.o
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
obj-y := init.o
|
obj-y := init.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_MMU) += pgtable.o mmu_context.o fault.o
|
||||||
|
|
Loading…
Reference in a new issue