Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-switch-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
white-rabbit
wr-switch-sw
Commits
22bf70df
Commit
22bf70df
authored
Aug 01, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
at91_softpwm: declare the needed Makefile variables
parent
bda0122d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
Makefile
kernel/at91_softpwm/Makefile
+11
-10
No files found.
kernel/at91_softpwm/Makefile
View file @
22bf70df
# Trivial makefile for 2.6 modules
#LINUX ?= /lib/modules/$(shell uname -r)/build
obj-m
=
at91_softpwm.o
at91_softpwm-objs
:=
fiq-asm.o fiq-at91sam92.o fiq-module.o softpwm_core.o
all
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
modules
export
ARCH
?=
arm
export
CROSS_COMPILE
?=
$(CROSS_COMPILE_ARM)
all modules
:
$(MAKE)
CONFIG_DEBUG_SECTION_MISMATCH
=
y
\
-C
$(LINUX)
SUBDIRS
=
$(
shell
/bin/pwd
)
modules
# We might "$(MAKE) -C $(LINUX)" but "make clean" with no LINUX defined
# is sometimes useful to have
clean
:
$(MAKE)
-C
$(LINUX)
clean
M
=
$(
shell
/bin/pwd
)
rm
-
f
Module.symvers modules.order
*
~
# $(MAKE) -C doc terse
rm
-f
*
.mod.c
*
.o
*
.ko .
*
cmd Module.symvers modules.order
rm
-
rf
.tmp_versions
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment