Commit a884683f authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] trivial fixups to m68knommu arch Makefile

From:  Greg Ungerer <gerg@moreton.com.au>
parent d3c122f7
...@@ -42,7 +42,7 @@ MODEL := $(model-y) ...@@ -42,7 +42,7 @@ MODEL := $(model-y)
# #
# Some code support is grouped together for a common cpu-subclass (for # Some code support is grouped together for a common cpu-subclass (for
# example all ColdFire cpu's are very similar). Determine the sub-class # example all ColdFire cpu's are very similar). Determine the sub-class
# for the selected cpu. ONLY need to define this for the non-core member # for the selected cpu. ONLY need to define this for the non-base member
# of the family. # of the family.
# #
cpuclass-$(CONFIG_M5206) := 5307 cpuclass-$(CONFIG_M5206) := 5307
...@@ -53,7 +53,10 @@ cpuclass-$(CONFIG_M5407) := 5307 ...@@ -53,7 +53,10 @@ cpuclass-$(CONFIG_M5407) := 5307
cpuclass-$(CONFIG_M68EZ328) := 68328 cpuclass-$(CONFIG_M68EZ328) := 68328
cpuclass-$(CONFIG_M68VZ328) := 68328 cpuclass-$(CONFIG_M68VZ328) := 68328
CPUCLASS := $(cpuclass-y) CPUCLASS := $(cpuclass-y)
ifneq ($(CPUCLASS),)
CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/ CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/
endif
export PLATFORM BOARD MODEL CPUCLASS export PLATFORM BOARD MODEL CPUCLASS
...@@ -79,9 +82,11 @@ CFLAGS += -O2 -g ...@@ -79,9 +82,11 @@ CFLAGS += -O2 -g
CFLAGS += -D__linux__ CFLAGS += -D__linux__
CFLAGS += -DUTS_SYSNAME=\"uClinux\" CFLAGS += -DUTS_SYSNAME=\"uClinux\"
LDFLAGS_BLOB := --format binary --oformat elf32-m68k
HEAD := arch/m68knommu/platform/$(platform-y)/$(board-y)/crt0_$(model-y).o HEAD := arch/m68knommu/platform/$(platform-y)/$(board-y)/crt0_$(model-y).o
clean-files := include/asm-$(ARCH)/asm-offsets.h.tmp \ CLEAN_FILES := include/asm-$(ARCH)/asm-offsets.h.tmp \
include/asm-$(ARCH)/asm-offsets.h \ include/asm-$(ARCH)/asm-offsets.h \
arch/$(ARCH)/kernel/asm-offsets.s arch/$(ARCH)/kernel/asm-offsets.s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment