CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
kernel
/
efikamx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deleted not used anymore patch
[kernel/efikamx.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 9684757998b8b92b5f70525d70de4c3a53550215..b9e15874f68e3485a6446ef80156661cce6a1453 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-8,7
+8,7
@@
PWD = $(shell pwd)
WORK = $(PWD)/work
CROSSTOOLS = $(PWD)/../../toolchain/crosstools
WORK = $(PWD)/work
CROSSTOOLS = $(PWD)/../../toolchain/crosstools
-KERNEL_VERSION = 2.6.31.14.27-efikamx_201
11026
+KERNEL_VERSION = 2.6.31.14.27-efikamx_201
30723
.PHONY: all clean image modules map config
.PHONY: all clean image modules map config
@@
-18,13
+18,14
@@
clean: image-clean modules-clean map-clean
distclean: clean image-distclean modules-distclean map-distclean
distclean: clean image-distclean modules-distclean map-distclean
-$(WORK)/linux-$(KERNEL_VERSION).tar.
bz2
:
- wget -P $(WORK) http://crux-arm.nu/files/distfiles/efikamx/linux-$(KERNEL_VERSION).tar.
bz2
+$(WORK)/linux-$(KERNEL_VERSION).tar.
xz
:
+ wget -P $(WORK) http://crux-arm.nu/files/distfiles/efikamx/linux-$(KERNEL_VERSION).tar.
xz
-$(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.
bz2
$(PWD)/config-$(KERNEL_VERSION)
- tar -C $(WORK) -xv
jf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2
+$(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.
xz
$(PWD)/config-$(KERNEL_VERSION)
+ tar -C $(WORK) -xv
f $(WORK)/linux-$(KERNEL_VERSION).tar.xz
cd $(WORK) && \
cd $(WORK) && \
- patch -p1 -i $(WORK)/Makefile_arm_unaligned.diff
+ sed -e 's|`whoami`|devel|' -e 's|`hostname .*`|crux-arm.nu|' -i linux-$(KERNEL_VERSION)/scripts/mkcompile_h && \
+ sed 's|rt3070.bin rt2870.bin||g' -i linux-$(KERNEL_VERSION)/firmware/Makefile
cp -v $(PWD)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config
touch $(WORK)/linux-$(KERNEL_VERSION)
cp -v $(PWD)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config
touch $(WORK)/linux-$(KERNEL_VERSION)
@@
-43,7
+44,7
@@
image-clean:
rm -vf $(WORK)/zImage-$(KERNEL_VERSION)
image-distclean: image-clean
rm -vf $(WORK)/zImage-$(KERNEL_VERSION)
image-distclean: image-clean
- rm -vrf $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.
bz2
+ rm -vrf $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.
xz
$(WORK)/modules-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION)
cd $(WORK)/linux-$(KERNEL_VERSION) && \
$(WORK)/modules-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION)
cd $(WORK)/linux-$(KERNEL_VERSION) && \
@@
-55,8
+56,8
@@
$(WORK)/modules-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION)
touch $(WORK)/modules-$(KERNEL_VERSION)
$(WORK)/modules-$(KERNEL_VERSION).tar.xz: $(WORK)/modules-$(KERNEL_VERSION)
touch $(WORK)/modules-$(KERNEL_VERSION)
$(WORK)/modules-$(KERNEL_VERSION).tar.xz: $(WORK)/modules-$(KERNEL_VERSION)
- cd $(WORK) && \
- tar cvJf
modules-$(KERNEL_VERSION).tar.xz modules-$(KERNEL_VERSION)
+ cd $(WORK)
/modules-$(KERNEL_VERSION)
&& \
+ tar cvJf
$(WORK)/modules-$(KERNEL_VERSION).tar.xz *
touch $(WORK)/modules-$(KERNEL_VERSION).tar.xz
modules: $(WORK)/modules-$(KERNEL_VERSION).tar.xz
touch $(WORK)/modules-$(KERNEL_VERSION).tar.xz
modules: $(WORK)/modules-$(KERNEL_VERSION).tar.xz