Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
87
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
22bf70df
Commit
22bf70df
authored
12 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
at91_softpwm: declare the needed Makefile variables
parent
bda0122d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/at91_softpwm/Makefile
+11
-10
11 additions, 10 deletions
kernel/at91_softpwm/Makefile
with
11 additions
and
10 deletions
kernel/at91_softpwm/Makefile
+
11
−
10
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
-
r
f
.tmp_versions
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment