Skip to content

Commit

Permalink
microblaze_mmu_v2: Makefiles
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed May 26, 2009
1 parent a116f6d commit 4b2368f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions arch/microblaze/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
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
Expand Down
2 changes: 2 additions & 0 deletions arch/microblaze/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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`')'

Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion arch/microblaze/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 0 deletions arch/microblaze/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
#

obj-y := init.o

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

0 comments on commit 4b2368f

Please sign in to comment.