]> git.pld-linux.org Git - packages/eagle-usb.git/commitdiff
- prepare to 2.6 building auto/ac/eagle-utils-1_0_4-5
authorcieciwa <cieciwa@pld-linux.org>
Mon, 20 Oct 2003 12:48:40 +0000 (12:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eagle-usb.spec -> 1.8

eagle-usb.spec

index 8eba8609050c61fcb1ff01304c5b212fce8e7daa..8ea5486c84ddb1f7204826cbc48c986814736e29 100644 (file)
@@ -75,15 +75,23 @@ install -d kernel-{up,smp}
 # UP
 %{__make} clean
 %{__make} -C driver \
-       CC=%{kgcc} \
+       CC=%{__cc} \
+%ifarch %{ix86} 
+       OPT="-I/usr/src/linux/include/asm-i386/mach-default" \
+%endif
        KERNELSRC="%{_kernelsrcdir}"
 install driver/adiusbadsl.o kernel-up
 
 # SMP
 CONFIG_SMP=y; export CONFIG_SMP
 %{__make} -C driver clean
-%{__make} -e -C driver \
-       CC=%{kgcc} \
+%{__make} -C driver \
+       CC=%{__cc} \
+%ifarch %{ix86} 
+       OPT="-I/usr/src/linux/include/asm-i386/mach-default -DSMP -D__SMP__" \
+%else
+       OPT="-D__SMP__ -DSMP" \
+%endif
        KERNELSRC="%{_kernelsrcdir}"
 install driver/adiusbadsl.o kernel-smp/
 
This page took 0.057243 seconds and 4 git commands to generate.